Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

signIn.sso() ignores oidcPrompt for OAuth strategies

Open Beginner friendly
#10,119 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

@wobsoriano is already working on this.

Since Oct 7, 2026.

  • #10125 by @wobsoriano — open

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
78/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active

Research direction

Start with the linked SignIn.ts lines 1353–1360 and compare how sso() builds its create parameters with the signup path that already forwards oidc_prompt; also inspect authenticateWithRedirect at lines 443–448. Run the relevant sign-in tests and verify the request includes oidc_prompt=select_account for both affected paths.

Written by the indexing model from the issue text.

Description

Preliminary Checks
Reproduction

https://github.com/clerk/javascript/blob/568c6689ab25972f66c44e0fb72f025c2d56a7c0/packages/clerk-js/src/core/resources/SignIn.ts#L1353-L1360

Publishable key

pk_test_bWFpbi1xdWV0emFsLTcyLmNsZXJrLmFjY291bnRzLmRldiQ

Description

Steps to reproduce:

await signIn.sso({
  strategy: 'oauth_google',
  oidcPrompt: 'select_account',
  redirectUrl: '/dashboard',
  redirectCallbackUrl: '/sso-callback',
});

Check the POST /v1/client/sign_ins request in the network tab.

Expected behavior:

Body includes oidc_prompt=select_account and Google shows the account picker.

Actual behavior:

oidc_prompt isn't sent, so Google goes straight to the last used account. sso() doesn't pass it to create:
https://github.com/clerk/javascript/blob/568c6689ab25972f66c44e0fb72f025c2d56a7c0/packages/clerk-js/src/core/resources/SignIn.ts#L1353-L1360

authenticateWithRedirect has the same problem (L443-448).

Passing oidc_prompt to the API directly works and sign-up already forwards it, so I think it's just missing from the params here. Similar to #9354.

Happy to open a PR for this.

Environment
System:
  OS: macOS 27.2
Binaries:
  Node: 24.21.0
  bun: 1.4.2
Browsers:
  Chrome: 155.0.8059.40
  Safari: 27.2
npmPackages:
  @clerk/tanstack-react-start: 1.6.5
  @clerk/ui: 1.39.0
Dominant language
TypeScript
Stars
1.8k
Forks
477
Avg merge
1d 19h
Merged PRs (30d)
324

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from clerk/javascript

All issues in clerk/javascript

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.