-
Notifications
You must be signed in to change notification settings - Fork 76
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
global: fix tests from pallets family upgrade #274
Conversation
64ead48
to
2b0869b
Compare
Co-authored-by: Zacharias Zacharodimos <[email protected]>
c082d8d
to
3f8c458
Compare
@@ -363,7 +362,6 @@ def account_setup(remote, token, resp): | |||
resource = get_resource(remote, resp) | |||
|
|||
with db.session.begin_nested(): | |||
person_id = resource.get("cern_person_id") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unused
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is interesting, we have person_id in ILS, not sure now how it gets there
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤷♂️ I just see that the person_id
is extracted and never used hehe
d8e77f2
to
1d4d831
Compare
Co-authored-by: Zacharias Zacharodimos <[email protected]>
oauth.mov
Important info
All redirects are now relative, since Flask/Werkzeug 2.1.0. According to the issue it was tested in all the major browsers and CLIs and they do follow redirects properly.
In order to undo it (i.e. allow external redirects) we would need to change this configuration value. An example test in werkzeug is this