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

Store followup also when logging in with lightbox for SSO. #3360

Merged
merged 7 commits into from Jan 29, 2024

Conversation

EreMaijala
Copy link
Contributor

With the special flag we can ignore it when processing the login but still do a correct redirect with SSO.

Without the followup there's a discrepancy between library card login and SSO where the former stays on the current page whereas the latter always redirects to MyResearch.

With the special flag we can ignore it when processing the login but still do a correct redirect with SSO.
Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

@EreMaijala, maybe I'm misunderstanding something, but I think a little more work may be necessary here.

Also, is there an easy way to capture the behavior change in a Mink test to prevent regressions?

@EreMaijala
Copy link
Contributor Author

@demiankatz Thanks, I've now renamed the flag. I think that a Mink test should be doable, I'll add one.

Copy link
Member

@demiankatz demiankatz left a comment

Choose a reason for hiding this comment

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

Thanks, @EreMaijala, it's amazing what a little renaming can do. I now understand this a great deal better. I'll just hold off on merging until the test is ready.

@demiankatz demiankatz merged commit 333ed45 into vufind-org:dev Jan 29, 2024
7 checks passed
@demiankatz demiankatz deleted the dev-fix-sso-redirect branch January 29, 2024 18:21
@demiankatz demiankatz added this to the 10.0 milestone Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants