-
Notifications
You must be signed in to change notification settings - Fork 230
Fix CI failures #379
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 CI failures #379
Conversation
Fix Sorcery#378 The test started to fail because the encoding of spaces was changed from "+" to "%20" by [this change](https://gitlab.com/oauth-xx/oauth2/-/merge_requests/633) included in oauth2 v2.0.10. After updating the expected values in the test to use "%20", the test passed.
I also added the changes for Sorcery#377, which had not been included.
@joshbuker If you have time, I'd appreciate it if you could review this. |
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.
Changing the tests to make them pass is a bit of a red flag. Can you dig into why this change occurred before we update the test suite to match the results it's giving?
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.
Ah, I missed your comment on it being from oauth 2.0.10.
They say this is needed for Apple ID, but it's not clear if this is needed for other providers, or if it'll break other providers... Would be nice to test this in a staging environment to verify, but ultimately the oauth implementation we're using is horribly outdated and should be replaced with omniauth anyway. Can always roll it back if things break. |
Sure, it would be nice to have an environment where we can actually try logging in with OAuth. |
I’ll go ahead and merge this PR for now. |
Fix #378
The test started to fail because the encoding of spaces was changed from "+" to "%20" by this change included in oauth2 v2.0.10. After updating the expected values in the test to use "%20", the test passed.