mirror of
https://github.com/floci-io/floci.git
synced 2026-11-26 23:29:28 -05:00
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>