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

revoke_handler: respecting ErrInvalidRequest code #380

Merged

Conversation

DefinitelyNotAGoat
Copy link
Contributor

@DefinitelyNotAGoat DefinitelyNotAGoat commented Aug 23, 2019

Related issue

#379

Proposed changes

This commit modifies the case for ErrInvalidRequest in
WriteRevocationResponse to respect the 400 error code
and not fallthrough to ErrInvalidClient.

Checklist

@CLAassistant
Copy link

CLAassistant commented Aug 23, 2019

CLA assistant check
All committers have signed the CLA.

@DefinitelyNotAGoat DefinitelyNotAGoat force-pushed the issue-379/respect_ErrInvalidRequest branch 3 times, most recently from 1252260 to 89c76f2 Compare August 23, 2019 16:45
@aeneasr
Copy link
Member

aeneasr commented Aug 25, 2019

Thank you for fixing this!

Could you add a test for this please? Also, please sign the CLA - thank you! :)

@DefinitelyNotAGoat
Copy link
Contributor Author

For sure! Will do!

@DefinitelyNotAGoat
Copy link
Contributor Author

Hi @aeneasr I am having difficulty accessing the CLA. It appears have trouble loading. I've gotten a couple 502's, but this is the latest error:
Screen Shot 2019-08-27 at 9 18 55 AM

@DefinitelyNotAGoat DefinitelyNotAGoat force-pushed the issue-379/respect_ErrInvalidRequest branch from 89c76f2 to 570214f Compare August 27, 2019 15:46
This commit modifies the case for ErrInvalidRequest in
WriteRevocationResponse to respect the 400 error code
and not fallthrough to ErrInvalidClient.

Author:    DefinitelyNotAGoat <baldrich@protonmail.com>
@DefinitelyNotAGoat DefinitelyNotAGoat force-pushed the issue-379/respect_ErrInvalidRequest branch from 570214f to 4d659cf Compare August 27, 2019 15:47
@DefinitelyNotAGoat
Copy link
Contributor Author

I tried again and was able to sign, also added the requested test cases. Thanks @aeneasr!

@aeneasr
Copy link
Member

aeneasr commented Aug 29, 2019

Awesome - you rock!

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.

3 participants