Skip to content

Conversation

@thisisabhash
Copy link
Member

@thisisabhash thisisabhash commented Nov 13, 2025

Issue #, if available:
None

Description of changes:
This PR adds support for following OIDC parameters in managed login

  • nonce
  • lang
  • login_hint
  • prompt
  • resource

Cognito documentation: https://docs.aws.amazon.com/cognito/latest/developerguide/authorization-endpoint.html

Testing:

Unit tests are added in

  • packages/auth/amplify_auth_cognito_test/test/state/hosted_ui_state_machine_test.dart
  • packages/auth/amplify_auth_cognito/example/integration_test/native_auth_bridge_test.dart
  • packages/auth/amplify_auth_cognito/test/hosted_ui_platform_flutter_test.dart

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@thisisabhash thisisabhash requested a review from a team as a code owner November 13, 2025 21:41
@thisisabhash thisisabhash force-pushed the feat/cognito-oidc-parameters branch from 555c4fe to b4037d4 Compare November 13, 2025 21:42
@thisisabhash thisisabhash force-pushed the feat/cognito-oidc-parameters branch from 01166f5 to 4498450 Compare November 18, 2025 22:15
@thisisabhash thisisabhash force-pushed the feat/cognito-oidc-parameters branch from 4498450 to bb9a3b6 Compare November 19, 2025 19:21
@thisisabhash thisisabhash merged commit 40c5df9 into main Nov 20, 2025
116 of 124 checks passed
tyllark pushed a commit that referenced this pull request Nov 21, 2025
…6442)

* feat(auth): add support for cognito oidc parameters in managed login

* fix failing test build

* fix format errors

* fix test build

* fix build

* add formatting changes

* add missing generated file

* update tests

* address review comments
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.

3 participants