René's URL Explorer Experiment


Title: @clerk/expo: useSSO does not expose or forward oidcPrompt · Issue #9680 · clerk/javascript · GitHub

Open Graph Title: @clerk/expo: useSSO does not expose or forward oidcPrompt · Issue #9680 · clerk/javascript

X Title: @clerk/expo: useSSO does not expose or forward oidcPrompt · Issue #9680 · clerk/javascript

Description: Preliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk support via email or Discord (if you hav...

Open Graph Description: Preliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk ...

X Description: Preliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk ...

Opengraph URL: https://github.com/clerk/javascript/issues/9680

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"@clerk/expo: useSSO does not expose or forward oidcPrompt","articleBody":"### Preliminary Checks\n\n- [x] I have reviewed the documentation: https://clerk.com/docs\n\n- [x] I have searched for existing issues: https://github.com/clerk/javascript/issues\n\n- [x] I have not already reached out to Clerk support via email or Discord (if you have, no need to open an issue here)\n\n- [x] This issue is not a question, general help request, or anything other than a bug report directly related to Clerk. Please ask questions in our Discord community: https://clerk.com/discord.\n\n\n### Reproduction\n\nhttps://github.com/kockar96/clerk-expo-oidc-prompt-repro\n\n### Publishable key\n\npk_live_Y2xlcmsuc3VndS5ub3ck\n\n### Description\n\n## Summary\n\nIn `@clerk/expo` 4.6.5, the regular `useSSO` hook does not expose `oidcPrompt` in `StartSSOFlowParams` or forward it to `signIn.create`, even though the underlying sign-in API supports it. This prevents callers from explicitly requesting Google's account chooser through `startSSOFlow`.\n\nThis report concerns `useSSO` imported from `@clerk/expo`, not the experimental API or native Google sign-in.\n\n## Steps to reproduce\n\n1. Use `@clerk/expo` 4.6.5 in an Expo app with Google enabled.\n2. Try to request account selection:\n\n```tsx\nimport { useSSO } from '@clerk/expo';\n\nconst { startSSOFlow } = useSSO();\n\nawait startSSOFlow({\n  strategy: 'oauth_google',\n  oidcPrompt: 'select_account',\n});\n```\n\n3. TypeScript rejects `oidcPrompt` because it is not part of `StartSSOFlowParams`.\n4. If the type check is bypassed, the wrapper still omits the value from the object passed to `signIn.create`.\n\nThe omission can also be verified directly in the published package's `dist/hooks/useSSO.js` and `dist/hooks/useSSO.d.ts`, without a live OAuth session.\n\n## Expected behavior\n\n`startSSOFlow` should accept `oidcPrompt` and forward it to `signIn.create`, allowing Google sign-in to request `prompt=select_account`.\n\n## Actual behavior\n\nThe wrapper constructs the sign-in request from selected fields and drops `oidcPrompt`. With an existing Google browser session, sign-in can proceed directly using an account instead of showing the chooser. The visible behavior depends on the Google session; the parameter omission is deterministic.\n\n## Verified workaround\n\nWe locally added `oidcPrompt?: string` to `StartSSOFlowParams` and the following property to the wrapper's `signIn.create` call:\n\n```ts\n...(startSSOFlowParams.oidcPrompt\n  ? { oidcPrompt: startSSOFlowParams.oidcPrompt }\n  : {}),\n```\n\nPassing `oidcPrompt: 'select_account'` then restored the account picker in manual testing. We also added automated tests against the installed wrapper to verify forwarding, existing-account and transferable new-account callbacks, cancellation, and an unchanged Apple request.\n\n## Related issue\n\n#9177, fixed by #9354, addresses a similar omission in `createExternalAccount` and `reauthorize`. This report is about the separate Expo `useSSO` wrapper, which still omits the parameter in 4.6.5.\n\nGoogle documents `select_account` here: https://developers.google.com/identity/openid-connect/openid-connect#authenticationuriparameters\n\nWe noticed the visible behavior change around a development-to-production transition, but have not established its cause and are not claiming that this is a recent SDK regression. The reproducible issue is the missing parameter exposure and forwarding.\n\n\n### Environment\n\n```Shell\nRelevant package versions:\n@clerk/expo: 4.6.5\nexpo: 57.0.18\nreact-native: 0.86.3\nreact: 19.2.3\n\nFlow: browser-based Google SSO using useSSO from @clerk/expo.\n```","author":{"url":"https://github.com/kockar96","@type":"Person","name":"kockar96"},"datePublished":"2026-09-08T13:32:30Z","url":"https://github.com/clerk/javascript/issues/9680"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:07fba409-5121-495b-d9d4-b49914701c88
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD380:1EFDE9:1253A51:191486D:6AFB6D9A
html-safe-nonce2eb435366ef63a51d122f6730a4f29abde0ec2b7a6503ca7a9572605e56281d2
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMzgwOjFFRkRFOToxMjUzQTUxOjE5MTQ4NkQ6NkFGQjZEOUEiLCJ2aXNpdG9yX2lkIjoiMTQ4MzEwNjI4NzAzNjg4NjQyNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac15ce3a7b4cb872450e712e0c06207f254975b33d8bd6c0b451d9326ca6f5b403
hovercard-subject-tagissue:5387381810
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/clerk/javascript/9680/issue_layout
twitter:imagehttps://opengraph.githubassets.com/71c40cabc2365495c71deeaf18ca5306d1a0ae44ce3d9989df8c54cf90f3eed5/clerk/javascript/issues/9680
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/71c40cabc2365495c71deeaf18ca5306d1a0ae44ce3d9989df8c54cf90f3eed5/clerk/javascript/issues/9680
og:image:altPreliminary Checks I have reviewed the documentation: https://clerk.com/docs I have searched for existing issues: https://github.com/clerk/javascript/issues I have not already reached out to Clerk ...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekockar96
hostnamegithub.com
expected-hostnamegithub.com
Nonecca289ecd54650fcf3c0b037a58b97186dee2cc4406819d87fab93728fd83700
turbo-cache-controlno-preview
go-importgithub.com/clerk/javascript git https://github.com/clerk/javascript.git
octolytics-dimension-user_id49538330
octolytics-dimension-user_loginclerk
octolytics-dimension-repository_id438331492
octolytics-dimension-repository_nwoclerk/javascript
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id438331492
octolytics-dimension-repository_network_root_nwoclerk/javascript
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release88808b1fae5ab8a526a73e7ce5542a10eb9d6971
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/clerk/javascript/issues/9680#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fissues%2F9680
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fclerk%2Fjavascript%2Fissues%2F9680
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=clerk%2Fjavascript
Reloadhttps://github.com/clerk/javascript/issues/9680
Reloadhttps://github.com/clerk/javascript/issues/9680
Reloadhttps://github.com/clerk/javascript/issues/9680
clerkhttps://github.com/clerk
javascripthttps://github.com/clerk/javascript
Codehttps://github.com/clerk/javascript
Issues45 (45)https://github.com/clerk/javascript/issues
Pull requests110 (110)https://github.com/clerk/javascript/pulls
Discussionshttps://github.com/clerk/javascript/discussions
Actionshttps://github.com/clerk/javascript/actions
Security and quality6 (6)https://github.com/clerk/javascript/security
Insightshttps://github.com/clerk/javascript/pulse
https://github.com/clerk/javascript
New issuehttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/9680
New issuehttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/9680
#9688https://github.com/clerk/javascript/pull/9688
@clerk/expo: useSSO does not expose or forward oidcPrompthttps://github.com/clerk/javascript/issues/9680#top
#9688https://github.com/clerk/javascript/pull/9688
https://github.com/wobsoriano
confirmedhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22confirmed%22
https://github.com/kockar96
kockar96https://github.com/kockar96
on Sep 8, 2026https://github.com/clerk/javascript/issues/9680#issue-5387381810
https://clerk.com/docshttps://clerk.com/docs
https://github.com/clerk/javascript/issueshttps://github.com/clerk/javascript/issues
https://clerk.com/discordhttps://clerk.com/discord
https://github.com/kockar96/clerk-expo-oidc-prompt-reprohttps://github.com/kockar96/clerk-expo-oidc-prompt-repro
#9177https://github.com/clerk/javascript/issues/9177
#9354https://github.com/clerk/javascript/pull/9354
https://developers.google.com/identity/openid-connect/openid-connect#authenticationuriparametershttps://developers.google.com/identity/openid-connect/openid-connect#authenticationuriparameters
kockar96https://github.com/kockar96
needs-triageA ticket that needs to be triaged by a team memberhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Sep 8, 2026https://github.com/clerk/javascript/issues/9680#event-30758389513
wobsorianohttps://github.com/wobsoriano
on Sep 8, 2026https://github.com/clerk/javascript/issues/9680#event-30772668475
wobsorianohttps://github.com/wobsoriano
confirmedhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22confirmed%22
needs-triageA ticket that needs to be triaged by a team memberhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22needs-triage%22
on Sep 9, 2026https://github.com/clerk/javascript/issues/9680#event-30802208876
wobsorianohttps://github.com/wobsoriano
completedhttps://github.com/clerk/javascript/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
#9688https://github.com/clerk/javascript/pull/9688
on Sep 9, 2026https://github.com/clerk/javascript/issues/9680#event-30853938116
Sign up for freehttps://github.com/signup?return_to=https://github.com/clerk/javascript/issues/9680
Sign in to commenthttps://github.com/login?return_to=https://github.com/clerk/javascript/issues/9680
wobsorianohttps://github.com/wobsoriano
confirmedhttps://github.com/clerk/javascript/issues?q=state%3Aopen%20label%3A%22confirmed%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.