Skip to content
This repository has been archived by the owner on Dec 7, 2020. It is now read-only.

Use end-session-endpoint in logout redirects if it exists #619

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

gps035
Copy link

@gps035 gps035 commented May 22, 2020

Summary

When logging out, this change will cause a redirect to the end_session_endpoint from the discovery doc if that endpoint is specified, and if the enable-logout-redirect option is selected.

Type

[x] Bug fix
[] Feature request
[] Enhancement
[] Docs

Why?

If the issuer does not have an end session endpoint matching $ISSUER/protocol/openid-connect/logout, then a user will most likely be redirected to an invalid page

Checklist:

  • My change requires a change to the documentation or CHANGELOG.
  • I have updated the documentation/CHANGELOG accordingly.

@abstractj abstractj self-assigned this May 23, 2020
@gps035 gps035 marked this pull request as ready for review May 29, 2020 13:02
Copy link

@abstractj abstractj left a comment

Choose a reason for hiding this comment

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

For any changes into the codebase we need to add tests for it, but prior to do that. Let's discuss the motivation for this PR.

@abstractj abstractj added the incomplete Not complete implementation or work in progress label Jun 3, 2020
@abstractj abstractj removed their assignment Aug 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
incomplete Not complete implementation or work in progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants