Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(auth): HostedUI oidc signout #13512

Merged
merged 38 commits into from
Sep 3, 2024
Merged

feat(auth): HostedUI oidc signout #13512

merged 38 commits into from
Sep 3, 2024

Conversation

Samaritan1011001
Copy link
Member

Description of changes

Updates the signOut API to allow customers to provide which redirect url to use enabling sign out of users from both Cognito Hosted UI and the upstream OIDC provider.

Issue #, if available

Description of how you validated changes

Sample app with HostedUI setup with Auth0 as the OIDC provider.

  • sign in using signWithRedirect
  • sign out with preferredRedirectUrl as the Auth0's logout endpoint
  • call signInWithRedirect to see that the Auth0 login again requires to enter user credentials.

Checklist

  • PR description included
  • yarn test passes
  • Tests are changed or added
  • Relevant documentation is changed or added (and PR referenced)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Copy link
Member

@israx israx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Manoj. Left a couple of comments

@Samaritan1011001 Samaritan1011001 marked this pull request as ready for review July 18, 2024 21:58
package.json Show resolved Hide resolved
@Samaritan1011001 Samaritan1011001 force-pushed the fix/redirect-rn branch 2 times, most recently from 1207e4f to 2d0d7c9 Compare July 24, 2024 20:21
@Samaritan1011001 Samaritan1011001 requested a review from a team as a code owner August 22, 2024 23:52
@Samaritan1011001 Samaritan1011001 changed the base branch from feat/hosted-ui-sign-out to main August 22, 2024 23:52
@Samaritan1011001 Samaritan1011001 dismissed israx’s stale review August 22, 2024 23:52

The base branch was changed.

HuiSF
HuiSF previously approved these changes Aug 30, 2024
israx
israx previously approved these changes Aug 30, 2024
cshfang
cshfang previously approved these changes Aug 30, 2024
@Samaritan1011001 Samaritan1011001 dismissed stale reviews from israx, HuiSF, and cshfang via 26a4920 September 3, 2024 19:23
@Samaritan1011001 Samaritan1011001 merged commit e8fb997 into main Sep 3, 2024
30 checks passed
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.

7 participants