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

V13 RC: Fix regression for external login providers #15334

Merged
merged 5 commits into from
Dec 1, 2023

Conversation

iOvergaard
Copy link
Contributor

Description

Fixes AB#35485

If you turn on AutoRedirectLoginToExternalProvider it will send you in an endless loop, because we now redirect the user when logging out. This PR adds a check for the parameter ?logout=true in the BackOfficeController to prevent this scenario. It also refactors the controller to reduce nesting and improve the general understanding of how external login providers work.

Copy link
Member

@bergmania bergmania left a comment

Choose a reason for hiding this comment

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

Code changes looks good, but maybe we can do a video 1-1 to do the test together, so I don't have to setup all the external login providers?

@iOvergaard iOvergaard merged commit 8f497c8 into v13/dev Dec 1, 2023
16 checks passed
@iOvergaard iOvergaard deleted the v13/bugfix/external-login-logout-regression branch December 1, 2023 09:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants