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

Add default logout URI if non defined in config #1310

Merged
merged 1 commit into from
Nov 22, 2019

Conversation

absoludity
Copy link
Contributor

Description of the change
Ensure there is a default value for the oauth logout URI

Benefits

If the current code is deployed with an older chart which does not define the config.logoutURI, then clicking logout (when authed via a cookie) redirects to /undefined and you are not logged out.

Additional information
Just noticed this as unexpected behaviour on a recent environment. Turns out it's because logoutURI was not defined in the config (due to the older chart).

@absoludity absoludity self-assigned this Nov 22, 2019
@andresmgot andresmgot merged commit dc8b01a into master Nov 22, 2019
@andresmgot andresmgot deleted the oauth-logout-login branch September 8, 2020 08:57
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.

2 participants