handle

suspend fun handle(uri: Uri?): Boolean

Handles OAuth/SSO and native magic-link deep link callbacks.

Call this method from your Activity when receiving a deep link callback from Clerk authentication flows.

Return

true if the URI was handled, false otherwise.

Example usage:

// In your Activity's onCreate or onNewIntent
lifecycleScope.launch {
clerk.auth.handle(intent.data)
}

Parameters

uri

The deep link URI received from the callback.