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 breaking change on 7.4.2 for empty secret + "none" algorithm (sync code style) #386

Merged
merged 3 commits into from
Aug 17, 2017

Conversation

ziluvatar
Copy link
Contributor

Based on PR: #382
Fix: #381

It modifies @rhysmccaig approach to simply check the algorithm (none?) before raising an error. I think modifying the secret is hacky.

So this will reopen #286 for the case of callback-ish code style and algorithm none (it didn't work before either). But it will solve the breaking change introduced by #374

@ziluvatar ziluvatar changed the title Fix breaking change on 7.4.2 for empty secret + "none" algorithm Fix breaking change on 7.4.2 for empty secret + "none" algorithm (sync code style) Aug 17, 2017
@fiddur fiddur merged commit 2e4e30b into auth0:master Aug 17, 2017
@ziluvatar ziluvatar deleted the issue_381 branch August 17, 2017 14:16
@rhysmccaig
Copy link

Thanks for this - I had explored this approach, but for some reason I thought it still failed due to the way JWS/JWA worked, looks like I was wrong!

@ziluvatar
Copy link
Contributor Author

ziluvatar commented Aug 18, 2017

@rhysmccaig thank you for your fast PR!! (sorry for putting my suggestion on top of your code, but I worried you might have not noticed the comment and I didn't want to leave a breaking-change out there)

You were right, I reopen the original issue, although now it has smaller scope. I think we need to fix jws to get rid of it.

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