Skip to content

Conversation

@pablothedude
Copy link
Contributor

@pablothedude pablothedude commented Dec 5, 2024

#440

Also added a test in devconf: OpenConext/OpenConext-devconf#22

@pablothedude pablothedude force-pushed the feature/redirect-to-initial-uri-after-successful-login branch from b6822a3 to 9c4ebcd Compare December 5, 2024 09:27
@pablothedude pablothedude requested a review from johanib December 5, 2024 10:04
@pablothedude pablothedude force-pushed the feature/redirect-to-initial-uri-after-successful-login branch from 361ebf4 to 963b599 Compare December 5, 2024 10:35
Copy link
Contributor

@johanib johanib left a comment

Choose a reason for hiding this comment

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

Is there no test coverage?


Did you come up with this? Or did you reverse engineer from before the symfony upgrade?

This will fix a bug when a user verifies a token
when not logged into selfservice because the initial
url is not stores in the session to be redirected to
after the login.
@pablothedude pablothedude force-pushed the feature/redirect-to-initial-uri-after-successful-login branch from 963b599 to c896263 Compare December 5, 2024 11:05
@pablothedude
Copy link
Contributor Author

Is there no test coverage?

Did you come up with this? Or did you reverse engineer from before the symfony upgrade?

I've implemented it with the new setup in the SAML-bundle. Something alike seemed to be handled in a listener before the upgrade but a great part of that logic was moved to that bundle in the meantime. I've added a test in Behat, see the link above.

@johanib johanib self-requested a review December 5, 2024 12:34
@pablothedude pablothedude merged commit e4345ac into main Dec 5, 2024
2 checks passed
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.

3 participants