docs: document OIDC prompt=select_account value#2606
Merged
Conversation
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>
Contributor
There was a problem hiding this comment.
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_accountto the documented list of supportedpromptparameter values. - Explain how
select_accountbehaves 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.
shaunnkhan
approved these changes
Jun 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new OpenID Connect
prompt=select_accountauthorization-request value now accepted by Ory Hydra.Previously the allowed
promptvalues werenone,login,consent, andregistration; requests usingselect_accountwere rejected with aninvalid_requesterror. Because an Ory login session is tied to a single account,select_accountis treated likelogin: the user is always sent to the login screen, where they can authenticate with the account of their choice.This adds a
select_accountbullet to thepromptparameter list indocs/oauth2-oidc/authorization-code-flow.mdx(the only file that enumerates the supported prompt values), placed right afterlogin.Related change
Documents the matching Hydra change:
fix(hydra): accept OpenID Connect prompt=select_account(source PR link to follow).