fix: use select account prompt for sso oidc (#2065)

Use the `select_account` prompt for SSO OIDC to avoid constantly asking
for credentials to be entered with a client has an existing session with
the SSO provider.
This commit is contained in:
Lucas Smith
2025-10-07 17:06:28 +11:00
committed by GitHub
parent 399f91de73
commit a902bec96d
2 changed files with 9 additions and 3 deletions

View File

@ -50,5 +50,6 @@ export const oauthRoute = new Hono<HonoAuthContext>()
return await handleOAuthAuthorizeUrl({
c,
clientOptions,
prompt: 'select_account',
});
});