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

fix: login and consent redirect behavior change since 1.9.x #2457

Merged
merged 8 commits into from
Apr 27, 2021

Conversation

simpleway
Copy link
Contributor

@simpleway simpleway commented Apr 10, 2021

allow #fragment in configured url to keep backwards compatibility. Close #2363

Related issue

@aeneasr, this for keep backwards compatibility prior to v1.9.x.

Proposed changes

Since the login, consent urls are configured by server owner, redirect to login or consent ui built with SPA should be allowed, although not recommended.

Checklist

  • [ x ] I have read the contributing guidelines.
  • [ x ] I have read the security policy.
  • [ x ] I confirm that this pull request does not address a security
    vulnerability. If this pull request addresses a security. vulnerability, I
    confirm that I got green light (please contact
    security@ory.sh) from the maintainers to push
    the changes.
  • I have added tests that prove my fix is effective or that my feature
    works.
  • I have added or changed the documentation.

Further comments

allow #fragment in configured url to keep backwards compatibility. Close ory#2363
@CLAassistant
Copy link

CLAassistant commented Apr 10, 2021

CLA assistant check
All committers have signed the CLA.

@aeneasr
Copy link
Member

aeneasr commented Apr 14, 2021

Could you please add a test case for this? :)

@aeneasr aeneasr self-assigned this Apr 23, 2021
@aeneasr
Copy link
Member

aeneasr commented Apr 23, 2021

Are you still up for the changes? :) If you need any help, let us know!

@aeneasr aeneasr added the pending reply Awaiting reply of author or contributor. Issue will be closed on inactivity. label Apr 25, 2021
@simpleway
Copy link
Contributor Author

added tests to the branch.

@aeneasr aeneasr removed the pending reply Awaiting reply of author or contributor. Issue will be closed on inactivity. label Apr 26, 2021
@aeneasr aeneasr self-requested a review April 26, 2021 21:47
aeneasr
aeneasr previously approved these changes Apr 26, 2021
Copy link
Member

@aeneasr aeneasr left a comment

Choose a reason for hiding this comment

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

Awesome, thank you! 🎉 Your contribution makes Ory better :)

@aeneasr aeneasr merged commit 2f3a1af into ory:master Apr 27, 2021
mitar pushed a commit to mitar/hydra that referenced this pull request May 13, 2021
Allow #fragment in configured url to keep backwards compatibility.

Close ory#2363

Co-authored-by: hackerman <3372410+aeneasr@users.noreply.github.com>
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.

redirect behavior change between v1.8.5 and v1.9.x
3 participants