CreateExternalAccountParams
@Serializable
Parameters for creating an external account connection.
External accounts allow users to sign in using social providers like Google, Facebook, GitHub, etc. The provider must be enabled in your Clerk Dashboard settings before it can be used.
Constructors
Link copied to clipboard
constructor(provider: OAuthProvider, redirectUrl: String = RedirectConfiguration.DEFAULT_REDIRECT_URL, oidcPrompt: String? = null, oidcLoginHint: String? = null)
Properties
Link copied to clipboard
Optional OpenID Connect login hint parameter to pre-fill the user's identifier.
Link copied to clipboard
Optional OpenID Connect prompt parameter to control the authentication flow.
Link copied to clipboard
The strategy corresponding to the OAuth provider. For example: oauth_google
Link copied to clipboard
The full URL or path that the OAuth provider should redirect to, on successful authorization on their part.