You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This methods works similar to signing in with OAuth providers. Refer to the [documentation](https://supabase.com/docs/reference/kotlin/initializing) to learn how to handle OAuth and OTP links.
169
+
* Example:
170
+
* ```kotlin
171
+
* val url = supabase.auth.linkIdentity(Google)
172
+
* // Open the url in the browser, but this will happen automatically if [ExternalAuthConfigDefaults.automaticallyOpenUrl] is true (which it is by default)
173
+
* ```
174
+
*
175
+
* This method works similar to signing in with OAuth providers. Refer to the [documentation](https://supabase.com/docs/reference/kotlin/initializing) to learn how to handle OAuth and OTP links.
168
176
* @param provider The OAuth provider
169
177
* @param redirectUrl The redirect url to use. If you don't specify this, the platform specific will be used, like deeplinks on android.
* @param provider One of the [IDTokenProvider] providers.
202
+
* @param idToken The ID token to use
203
+
* @param config Extra configuration
204
+
* @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.
205
+
* @throws HttpRequestTimeoutException if the request timed out
206
+
* @throws HttpRequestException on network related issues
207
+
*/
208
+
suspendfunlinkIdentityWithIdToken(
209
+
provider:IDTokenProvider,
210
+
idToken:String,
211
+
config: (IDToken.Config).() ->Unit = {}
212
+
)
213
+
182
214
/**
183
215
* Unlinks an OAuth Identity from an existing user.
0 commit comments