Files
floci/src/main/java/io
Matheus Oliveira ad8c35888f fix(cognito): report EXTERNAL_PROVIDER status for federated users (#7553)
Federated users provisioned via the hosted UI were reported with
UserStatus CONFIRMED. AWS reports EXTERNAL_PROVIDER for users that
sign in with a third-party identity provider.

- Set user status to EXTERNAL_PROVIDER in provisionFederatedUser
- Update test assertion accordingly

Closes #7545

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

fix(cognito): preserve status of linked and permanent-password federated users

Addresses qodo review: provisionFederatedUser no longer overwrites
EXTERNAL_PROVIDER on linked local profiles or federated profiles that
had a permanent password assigned.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

fix(cognito): track auto-provisioned status to preserve linked users on re-sign-in

Use a persisted federatedAutoProvisioned flag instead of overwriting
federatedProviderName, so linked profiles and permanent-password users
keep their status across repeated federated sign-ins.

Addresses pgermosen review.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>

test(cognito): add re-sign-in status preservation tests

Covers linked profile re-sign-in and permanent-password profile re-sign-in.
Addresses pgermosen review.

Signed-off-by: Matheus Oliveira <matheus.6148@gmail.com>
2026-11-06 19:18:24 -04:00
..