Skip to content

V13 RC: Fix regression for external login providers#15334

Merged
iOvergaard merged 5 commits intov13/devfrom
v13/bugfix/external-login-logout-regression
Dec 1, 2023
Merged

V13 RC: Fix regression for external login providers#15334
iOvergaard merged 5 commits intov13/devfrom
v13/bugfix/external-login-logout-regression

Conversation

@iOvergaard
Copy link
Copy Markdown
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
Copy Markdown
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
@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