Repository navigation
feat(identity): switch the internal pool domain to managed login - #171
Closed
Alexanderamiri wants to merge 1 commit into
Closed
Alexanderamiri wants to merge 1 commit into
Alexanderamiri wants to merge 1 commit into
Conversation
Managed login forwards prompt=select_account to Google, so heroes get the account chooser. Every app client has a branding style from app-auth-sync (previous change), which managed login needs to show a sign-in page. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Terraform Plan🚧 Changes detected — Plan: 0 to add, 3 to change, 0 to destroy. Plan outputLLM ReviewRisk: 🟢 LOW Plan updates 3 existing resources in place (0 add, 0 destroy): a Cognito user pool domain managed-login version bump, an IAM inline policy gaining managed-login branding permissions for the app-auth-sync Lambda, and the Lambda's code hash change.
|
This was referenced Oct 29, 2026
Alexanderamiri
added a commit
that referenced
this pull request
Oct 29, 2026
## Why The classic hosted UI ignores `prompt=select_account`. Managed login forwards it to Google, so heroes signed in to a personal Google account get the account chooser instead of a dead end (#157). Stacked on #170. ## What `internal_managed_login_version` default 1 → 2 (`aws_cognito_user_pool_domain.internal`). The doc table in `cognito-google-setup.md` is updated to match. The external pool stays on the classic UI. ## How verified - `terraform fmt -check -recursive terraform` - The plan must show **one in-place update** of `module.identity.aws_cognito_user_pool_domain.internal` (`managed_login_version: 1 -> 2`), with no pool, domain or client replacement. ## Rollout **Merge only after #170 is applied** and its reconcile has run. Before merging, check that every internal client has a style (loop in `docs/cognito-google-setup.md` step 3). On a managed-login domain, a client without a style has no sign-in page. Live today, the only internal client, `cupcake-cupcake`, already has a style (created manually on 2026-10-24). After apply: - Open `https://cupcake.javazone.no/` and sign in. Expect the redirect to the IdP (GoogleSAML until the cutover), not a Cognito error page. - `python3 scripts/auth-doctor.py --app-yaml <frosting>/app.yaml` - Users may have to sign in again once (a new Cognito session). Rollback: set the variable back to 1. This is also an in-place update. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Replaces #171, which GitHub closed when its base branch (#170) was deleted on merge. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
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
The classic hosted UI ignores
prompt=select_account. Managed login forwards it to Google, so heroes signed in to a personal Google account get the account chooser instead of a dead end (#157). Stacked on #170.What
internal_managed_login_versiondefault 1 → 2 (aws_cognito_user_pool_domain.internal). The doc table incognito-google-setup.mdis updated to match. The external pool stays on the classic UI.How verified
terraform fmt -check -recursive terraformmodule.identity.aws_cognito_user_pool_domain.internal(managed_login_version: 1 -> 2), with no pool, domain or client replacement.Rollout
Merge only after #170 is applied and its reconcile has run. Before merging, check that every internal client has a style (loop in
docs/cognito-google-setup.mdstep 3). On a managed-login domain, a client without a style has no sign-in page. Live today, the only internal client,cupcake-cupcake, already has a style (created manually on 2026-10-24).After apply:
https://cupcake.javazone.no/and sign in. Expect the redirect to the IdP (GoogleSAML until the cutover), not a Cognito error page.python3 scripts/auth-doctor.py --app-yaml <frosting>/app.yamlRollback: set the variable back to 1. This is also an in-place update.
🤖 Generated with Claude Code