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

[SDK-3109] Add ability to pass custom logout params #329

Merged
merged 4 commits into from
Feb 17, 2022

Conversation

adamjmcgrath
Copy link
Contributor

Description

Add the ability to pass custom logoutParams to the end_session_endpoint on logout.

These will also be passed to the proprietary Auth0 logout endpoint, to do a federated logout from auth0 you can pass the federated param, eg

{ logoutParams: { federated: '' } }

References

Fixes #292
https://openid.net/specs/openid-connect-rpinitiated-1_0-01.html#RPLogout
https://auth0.com/docs/authenticate/login/logout/log-users-out-of-idps

Testing

Describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.

Please include any manual steps for testing end-to-end or functionality not covered by unit/integration tests.

Also include details of the environment this PR was developed in (language/platform/browser version).

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not master

@adamjmcgrath adamjmcgrath added the review:small Small review label Feb 14, 2022
@adamjmcgrath adamjmcgrath requested a review from a team as a code owner February 14, 2022 18:16
@adamjmcgrath adamjmcgrath changed the title Add ability to pass custom logout params [SDK-3109] Add ability to pass custom logout params Feb 14, 2022
@adamjmcgrath adamjmcgrath merged commit cc59bec into master Feb 17, 2022
@adamjmcgrath adamjmcgrath deleted the federated-logout branch February 17, 2022 10:21
@adamjmcgrath adamjmcgrath mentioned this pull request Feb 17, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
review:small Small review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support federated logout
2 participants