Skip to content

Version Packages (main) - #14903

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main
Open

Version Packages (main)#14903
github-actions[bot] wants to merge 1 commit into
mainfrom
changeset-release/main

Conversation

@github-actions

@github-actions github-actions Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and publish to npm yourself or setup this action to publish automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@aws-amplify/auth@6.20.1

Patch Changes

  • #14902 4661401 Thanks @soberm! - fix(auth): allow prompt=none silent SSO to resume federated sessions

    signInWithRedirect always appended identity_provider=COGNITO to the /oauth2/authorize request when no provider or idpIdentifier was supplied. Cognito treats identity_provider as a provider selector, so pinning it to COGNITO while requesting a silent sign in with options.prompt: 'NONE' restricted the attempt to native Cognito sessions. Users whose live hosted UI session originated from a federated IdP (for example Google or a SAML provider) were rejected with error=login_required instead of having their session resumed.

    identity_provider is now omitted only when prompt is 'NONE' and neither provider nor idpIdentifier is specified, which lets Cognito resume whichever session is already active. All other behavior is unchanged: an explicit provider still sends identity_provider, an idpIdentifier still sends idp_identifier, and the interactive no-argument call still defaults to identity_provider=COGNITO.

    Fixes signInWithRedirect always sends identity_provider=COGNITO, preventing Cognito from resuming a federated session #14897

aws-amplify@6.20.1

Patch Changes

  • Updated dependencies [4661401]:
    • @aws-amplify/auth@6.20.1

@aws-amplify/pubsub@6.1.71

Patch Changes

  • Updated dependencies [4661401]:
    • @aws-amplify/auth@6.20.1

@github-actions
github-actions Bot requested review from a team, avi-karthik, pranavosu and sarayev as code owners August 3, 2026 11:46
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 3bb520b to 38e0fcb Compare August 4, 2026 13:30
@github-actions
github-actions Bot force-pushed the changeset-release/main branch from 38e0fcb to 202a9b4 Compare August 4, 2026 15:37
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.

signInWithRedirect always sends identity_provider=COGNITO, preventing Cognito from resuming a federated session

0 participants