Skip to content

Commit 31c1930

Browse files
feat(clerk-js): route OAuth callbacks to the enterprise connection chooser (#9947)
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
1 parent 7be9d5a commit 31c1930

18 files changed

Lines changed: 635 additions & 35 deletions
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
---
2+
'@clerk/clerk-js': patch
3+
'@clerk/shared': patch
4+
'@clerk/ui': patch
5+
---
6+
7+
Add an `enterpriseConnectionsUrl` option to `handleRedirectCallback()` and `<AuthenticateWithRedirectCallback />`. When the Clerk API asks an OAuth sign-up to choose between several enterprise connections for the same email domain, the callback navigates to this URL, which defaults to the `enterprise-connections` route of your sign-up page.

0 commit comments

Comments
 (0)