Skip to content

docs: document OIDC prompt=select_account value#2606

Merged
jhickmanit merged 1 commit into
masterfrom
jhickmanit/oauth2-prompt-select-account
Jun 4, 2026
Merged

docs: document OIDC prompt=select_account value#2606
jhickmanit merged 1 commit into
masterfrom
jhickmanit/oauth2-prompt-select-account

Conversation

@jhickmanit

@jhickmanit jhickmanit commented Jun 4, 2026

Copy link
Copy Markdown
Contributor

Summary

Documents the new OpenID Connect prompt=select_account authorization-request value now accepted by Ory Hydra.

Previously the allowed prompt values were none, login, consent, and registration; requests using select_account were rejected with an invalid_request error. Because an Ory login session is tied to a single account, select_account is treated like login: the user is always sent to the login screen, where they can authenticate with the account of their choice.

This adds a select_account bullet to the prompt parameter list in docs/oauth2-oidc/authorization-code-flow.mdx (the only file that enumerates the supported prompt values), placed right after login.

Related change

Documents the matching Hydra change: fix(hydra): accept OpenID Connect prompt=select_account (source PR link to follow).

Ory Hydra now accepts the OpenID Connect prompt=select_account
authorization-request value. Because an Ory login session is tied to a
single account, select_account is treated like login: the user is sent
to the login screen, where they can authenticate with the account of
their choice.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings June 4, 2026 15:30

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the OAuth2/OIDC authorization code flow documentation to reflect that Ory Hydra now accepts the OpenID Connect prompt=select_account value and describes its effective behavior in Ory (treated like prompt=login due to single-account login sessions).

Changes:

  • Add select_account to the documented list of supported prompt parameter values.
  • Explain how select_account behaves in Ory Hydra (redirects to login, allowing the user to authenticate with an account of their choice).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@jhickmanit jhickmanit merged commit d6fc547 into master Jun 4, 2026
15 checks passed
@jhickmanit jhickmanit deleted the jhickmanit/oauth2-prompt-select-account branch June 4, 2026 15:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants