linkIdentityWithIdToken
abstract suspend fun linkIdentityWithIdToken(provider: IDTokenProvider, idToken: String, config: IDToken.Config.() -> Unit = {})(source)
Links an identity to the current user using an ID token.
Example:
supabase.auth.linkIdentityWithIdToken(provider = Google, idToken = "idToken") {
// Optional nonce
nonce = "nonce"
}Content copied to clipboard
Parameters
Throws
RestException
or one of its subclasses if receiving an error response. If the error response contains a error code, an AuthRestException will be thrown which can be used to easier identify the problem.
HttpRequestTimeoutException
if the request timed out
HttpRequestException
on network related issues