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

Bugfix: Updated URL service isCallbackFromSts #1936

Merged
merged 8 commits into from May 15, 2024

Conversation

erichjsonfosse
Copy link
Contributor

@erichjsonfosse erichjsonfosse commented May 8, 2024

Hey @damienbod :)

Let me know if I've missed or misunderstood anything.
Also let me know if you want a PR for 17 as well.

I added the option to match current URL to the redirect URI when determining whether or not it's a callback.

Fixes #1935 with backwards compatibility.

Also added a comment in the config interface saying NB: Default will be true in v18. (for the new checkRedirectUrlWhenCheckingIfIsCallback config option), as I do think that this should be done, because the default should be to only regard the redirect URI as a possible callback URL.

@erichjsonfosse erichjsonfosse changed the title Bugfix: Updated URL Bugfix: Updated URL service isCallbackFromSts May 8, 2024
@FabianGosebrink
Copy link
Collaborator

Thanks for this PR, that is looking really nice. Thank you! Can we also update the docs accordingly?

@erichjsonfosse
Copy link
Contributor Author

@FabianGosebrink
I've added a section for checkRedirectUrlWhenCheckingIfIsCallback to the configuration.md-file. Was that the kind of documentation you were looking for?

@FabianGosebrink FabianGosebrink merged commit 731aafb into damienbod:version-16 May 15, 2024
@erichjsonfosse
Copy link
Contributor Author

Thanks for helping out here, everyone!

Any ETA on an updated package :) ?

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.

None yet

3 participants