unlinkIdentity()
.The id of the OAuth identity
Whether to delete the identity from the local user or not. Defaults to `true`.
//get all identities linked to a user
val identities = supabase.auth.currentIdentitiesOrNull() ?: emptyList()
//find the google identity linked to the user
val googleIdentity = identities.first \{ it.provider == "google" \}
//unlink the google identity from the user
supabase.auth.unlinkIdentity(googleIdentity.identityId!!)