Skip to content

Commit 5218396

Browse files
committed
Update startSSOFlow reference to include redirectUrl
1 parent fbf01cb commit 5218396

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/custom-flows/oauth-connections.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ You must configure your application instance through the Clerk Dashboard for the
111111
// Start the authentication process by calling `startSSOFlow()`
112112
const { createdSessionId, setActive, signIn, signUp } = await startSSOFlow({
113113
strategy: 'oauth_google',
114-
redirectUrl: '/', // The URL to redirect to after successful authentication
114+
redirectUrl: '/dashboard', // The URL to redirect
115115
})
116116

117117
// If sign in was successful, set the active session

0 commit comments

Comments
 (0)