-
Notifications
You must be signed in to change notification settings - Fork 403
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
Fail with oauth errors instead of masking them #309
base: master
Are you sure you want to change the base?
Conversation
Any chance of getting this merged? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
The logic in |
@thefloweringash hello, thanks for check and your activity. The reason of marking this as a stale is to bring back some activity. This introduces backwards incompatible change AFAIK. I'll test and see what we can do about that other than bumping major version. Some kind of deprecation cycle will be nice. Any ideas? |
This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
To me, this seems like fixing a bug rather than changing an intended spec. As such, I don't feel that a major version change should be necessary. I think there's an expectation coming from Omniauth that strategies will pass up an error returned from the provider's callback. That omniauth-facebook didn't do this (and instead crashed out with This is an externally observable behavior change, but that is true of any bug fix. I don’t think it’s reasonable to say that every bug fix is a backward-incompatible change because some inputs are no longer mishandled. (At some level, every change is an XKCD spacebar heater!) |
Was any testing done on this to work out if it'd be possible to get it in? |
Why is this PR is not merged? |
It is not clear to me how to release (per #309 (comment)). Would be major bump enough? |
As @chrisandreae commented, although it is introducing a change, the change is to remove a crash. Perhaps someone is relying on the crash, if it doesn’t seem like it’s necessarily a major bump to me. |
Fixes #192 by making the
code
parameter optional, and allows thesuper
method to raise errors.I defer to the authors to assess the security implications.