-
Notifications
You must be signed in to change notification settings - Fork 289
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(clerk-expo): Introduce SAML support #4880
base: main
Are you sure you want to change the base?
Conversation
🦋 Changeset detectedLatest commit: 988f107 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
a26f19d
to
1fc5493
Compare
58b0280
to
dfd309d
Compare
Before merging this PR, we should also raise an update to our docs: https://clerk.com/docs/references/expo/use-oauth |
!snapshot |
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.7-snapshot.v20250113122215 --save-exact
npm i @clerk/backend@1.21.7-snapshot.v20250113122215 --save-exact
npm i @clerk/chrome-extension@2.1.11-snapshot.v20250113122215 --save-exact
npm i @clerk/clerk-js@5.44.0-snapshot.v20250113122215 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250113122215 --save-exact
npm i @clerk/express@1.3.34-snapshot.v20250113122215 --save-exact
npm i @clerk/fastify@2.1.7-snapshot.v20250113122215 --save-exact
npm i @clerk/nextjs@6.9.10-snapshot.v20250113122215 --save-exact
npm i @clerk/nuxt@1.0.3-snapshot.v20250113122215 --save-exact
npm i @clerk/react-router@0.1.8-snapshot.v20250113122215 --save-exact
npm i @clerk/remix@4.4.9-snapshot.v20250113122215 --save-exact
npm i @clerk/tanstack-start@0.8.8-snapshot.v20250113122215 --save-exact
npm i @clerk/testing@1.4.7-snapshot.v20250113122215 --save-exact |
!snapshot |
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.7-snapshot.v20250113125959 --save-exact
npm i @clerk/backend@1.21.7-snapshot.v20250113125959 --save-exact
npm i @clerk/chrome-extension@2.1.11-snapshot.v20250113125959 --save-exact
npm i @clerk/clerk-js@5.44.0-snapshot.v20250113125959 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250113125959 --save-exact
npm i @clerk/express@1.3.34-snapshot.v20250113125959 --save-exact
npm i @clerk/fastify@2.1.7-snapshot.v20250113125959 --save-exact
npm i @clerk/nextjs@6.9.10-snapshot.v20250113125959 --save-exact
npm i @clerk/nuxt@1.0.3-snapshot.v20250113125959 --save-exact
npm i @clerk/react-router@0.1.8-snapshot.v20250113125959 --save-exact
npm i @clerk/remix@4.4.9-snapshot.v20250113125959 --save-exact
npm i @clerk/tanstack-start@0.8.8-snapshot.v20250113125959 --save-exact
npm i @clerk/testing@1.4.7-snapshot.v20250113125959 --save-exact |
4f5378f
to
0cfdb3a
Compare
24325c4
to
57062cf
Compare
f8aca3f
to
af5f769
Compare
af5f769
to
9dfbd23
Compare
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.8-snapshot.v20250114202908 --save-exact
npm i @clerk/backend@1.22.1-snapshot.v20250114202908 --save-exact
npm i @clerk/chrome-extension@2.1.12-snapshot.v20250114202908 --save-exact
npm i @clerk/clerk-js@5.44.1-snapshot.v20250114202908 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250114202908 --save-exact
npm i @clerk/express@1.3.35-snapshot.v20250114202908 --save-exact
npm i @clerk/fastify@2.1.8-snapshot.v20250114202908 --save-exact
npm i @clerk/nextjs@6.9.11-snapshot.v20250114202908 --save-exact
npm i @clerk/nuxt@1.0.4-snapshot.v20250114202908 --save-exact
npm i @clerk/react-router@0.1.9-snapshot.v20250114202908 --save-exact
npm i @clerk/remix@4.4.10-snapshot.v20250114202908 --save-exact
npm i @clerk/tanstack-start@0.8.9-snapshot.v20250114202908 --save-exact
npm i @clerk/testing@1.4.8-snapshot.v20250114202908 --save-exact
npm i @clerk/vue@1.0.3-snapshot.v20250114202908 --save-exact |
1e83eff
to
9074210
Compare
!snapshot |
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.8-snapshot.v20250114213345 --save-exact
npm i @clerk/backend@1.22.1-snapshot.v20250114213345 --save-exact
npm i @clerk/chrome-extension@2.1.12-snapshot.v20250114213345 --save-exact
npm i @clerk/clerk-js@5.44.1-snapshot.v20250114213345 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250114213345 --save-exact
npm i @clerk/express@1.3.35-snapshot.v20250114213345 --save-exact
npm i @clerk/fastify@2.1.8-snapshot.v20250114213345 --save-exact
npm i @clerk/nextjs@6.9.11-snapshot.v20250114213345 --save-exact
npm i @clerk/nuxt@1.0.4-snapshot.v20250114213345 --save-exact
npm i @clerk/react-router@0.1.9-snapshot.v20250114213345 --save-exact
npm i @clerk/remix@4.4.10-snapshot.v20250114213345 --save-exact
npm i @clerk/tanstack-start@0.8.9-snapshot.v20250114213345 --save-exact
npm i @clerk/testing@1.4.8-snapshot.v20250114213345 --save-exact
npm i @clerk/vue@1.0.3-snapshot.v20250114213345 --save-exact |
39ebd73
to
b170e1b
Compare
b170e1b
to
3a71578
Compare
!snapshot |
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.8-snapshot.v20250114221021 --save-exact
npm i @clerk/backend@1.22.1-snapshot.v20250114221021 --save-exact
npm i @clerk/chrome-extension@2.1.12-snapshot.v20250114221021 --save-exact
npm i @clerk/clerk-js@5.44.1-snapshot.v20250114221021 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250114221021 --save-exact
npm i @clerk/express@1.3.35-snapshot.v20250114221021 --save-exact
npm i @clerk/fastify@2.1.8-snapshot.v20250114221021 --save-exact
npm i @clerk/nextjs@6.9.11-snapshot.v20250114221021 --save-exact
npm i @clerk/nuxt@1.0.4-snapshot.v20250114221021 --save-exact
npm i @clerk/react-router@0.1.9-snapshot.v20250114221021 --save-exact
npm i @clerk/remix@4.4.10-snapshot.v20250114221021 --save-exact
npm i @clerk/tanstack-start@0.8.9-snapshot.v20250114221021 --save-exact
npm i @clerk/testing@1.4.8-snapshot.v20250114221021 --save-exact
npm i @clerk/vue@1.0.3-snapshot.v20250114221021 --save-exact |
!snapshot |
!snapshot |
1 similar comment
!snapshot |
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.8-snapshot.v20250114233231 --save-exact
npm i @clerk/backend@1.22.1-snapshot.v20250114233231 --save-exact
npm i @clerk/chrome-extension@2.1.12-snapshot.v20250114233231 --save-exact
npm i @clerk/clerk-js@5.44.1-snapshot.v20250114233231 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250114233231 --save-exact
npm i @clerk/express@1.3.35-snapshot.v20250114233231 --save-exact
npm i @clerk/fastify@2.1.8-snapshot.v20250114233231 --save-exact
npm i @clerk/nextjs@6.9.11-snapshot.v20250114233231 --save-exact
npm i @clerk/nuxt@1.0.4-snapshot.v20250114233231 --save-exact
npm i @clerk/react-router@0.1.9-snapshot.v20250114233231 --save-exact
npm i @clerk/remix@4.4.10-snapshot.v20250114233231 --save-exact
npm i @clerk/tanstack-start@0.8.9-snapshot.v20250114233231 --save-exact
npm i @clerk/testing@1.4.8-snapshot.v20250114233231 --save-exact
npm i @clerk/vue@1.0.3-snapshot.v20250114233231 --save-exact |
fb13a99
to
d0f6ed9
Compare
!snapshot |
Hey @LauraBeatris - the snapshot version command generated the following package versions:
Tip: Use the snippet copy button below to quickly install the required packages. npm i @clerk/astro@2.1.8-snapshot.v20250115001249 --save-exact
npm i @clerk/backend@1.22.1-snapshot.v20250115001249 --save-exact
npm i @clerk/chrome-extension@2.1.12-snapshot.v20250115001249 --save-exact
npm i @clerk/clerk-js@5.44.1-snapshot.v20250115001249 --save-exact
npm i @clerk/clerk-expo@2.7.0-snapshot.v20250115001249 --save-exact
npm i @clerk/express@1.3.35-snapshot.v20250115001249 --save-exact
npm i @clerk/fastify@2.1.8-snapshot.v20250115001249 --save-exact
npm i @clerk/nextjs@6.9.11-snapshot.v20250115001249 --save-exact
npm i @clerk/nuxt@1.0.4-snapshot.v20250115001249 --save-exact
npm i @clerk/react-router@0.1.9-snapshot.v20250115001249 --save-exact
npm i @clerk/remix@4.4.10-snapshot.v20250115001249 --save-exact
npm i @clerk/tanstack-start@0.8.9-snapshot.v20250115001249 --save-exact
npm i @clerk/testing@1.4.8-snapshot.v20250115001249 --save-exact
npm i @clerk/vue@1.0.3-snapshot.v20250115001249 --save-exact |
d0f6ed9
to
c2b007e
Compare
c2b007e
to
988f107
Compare
|
||
let createdSessionId = signIn.createdSessionId; | ||
|
||
const redirectUrl = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A weird behavior is happening with deep linking back from the web browser tab. On expo web, it flows like this:
- Identity Provider redirects to FAPI /acs
- FAPI /acs redirects to application's redirect URL on that same tab
- Expo closes that tab and redirects back to the app but remains on the same page
On mobile, it's not linking to the actual page on the stack. I'll have to perform more testing tomorrow to better understand that.
Description
Resolves ORGS-454
This PR introduces a new React hook to trigger a wider-range of SSO types such as SAML with the
enterprise_sso
strategy.SAML support for native flows has been released on FAPI, and implemented by our native IOS SDK. It leverages the same
rotating_token_nonce
solution on SSO callback as it currently has for social OAuth.Checklist
pnpm test
runs as expected.pnpm build
runs as expected.Type of change