signUpWithOAuth
suspend fun Auth.signUpWithOAuth(provider: OAuthProvider): ClerkResult<OAuthResult, ClerkErrorResponse>
Signs up with OAuth provider.
Return
A ClerkResult containing the OAuthResult on success, or a ClerkErrorResponse on failure.
Example usage:
val result = clerk.auth.signUpWithOAuth(OAuthProvider.GOOGLE)Content copied to clipboard
Parameters
provider
The OAuth provider to use for sign-up.