Repository navigation
feat(auth): ask Google for the account chooser at sign-in - #258
Open
Alexanderamiri wants to merge 2 commits into
Open
Alexanderamiri wants to merge 2 commits into
Alexanderamiri wants to merge 2 commits into
Conversation
Send prompt=select_account with the authorize redirect, so a browser signed in to a personal Google account can switch to the @java.no account instead of being refused. Cognito forwards it to Google once the internal pool's domain is on managed login; until then it is ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Terraform Plan🚧 Changes detected — Plan: 5 to add, 1 to change, 0 to destroy. Plan outputLLM ReviewRisk: 🟡 MEDIUM Creates 5 networking/discovery resources for the cupcake-cupcake app (security group, ingress/egress rules, Cloud Map service, SSM parameter) and updates the ECS service to replace its security group with a new one, with 0 destroys.
|
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.
Why
Heroes whose browser is signed in to a personal Google account cannot switch to their
@java.noaccount at sign-in (javaBin/platform#157). The platform now asks apps on the internal pool to sendprompt=select_account(COGNITO_EXTRA_AUTH_PARAMS, javaBin/platform#170).What
extraQueryParams: { prompt: "select_account" }on theoidc-client-tsUserManager, so it goes with everysigninRedirectto Cognito's/oauth2/authorize.How verified
pnpm lintandpnpm typecheckpass./oauth2/authorize?...&prompt=select_accountexactly as it does without the parameter (302 to the IdP), so this is safe to merge before the platform change.Rollout
Safe to merge any time. It takes effect once the platform's internal pool domain is on managed login (javaBin/platform#171) and the pool signs in with the Google provider (javaBin/platform#172). Sign-in behaviour does not change before then.
🤖 Generated with Claude Code