-
Notifications
You must be signed in to change notification settings - Fork 27
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
Example how to use it with RS256 #4
Comments
Hi @fungi-fungi, we're working on a revamp to this sample and the docs that go along with it. In the meantime, check out this open PR for some guidance on using RS256 #2 |
@chenkie @fungi-fungi, I did a lot of work with this and have some working code allow you to toggle between The primary motivation is I couldn't get Then just build your decoder to be something like below (which includes a test case too):
|
Anytime! Sounds like we can close this one. |
Hello,
New auth0.js v8 sends jwt signed with RS256 and I can't make it work with Knock. I've added
config.token_signature_algorithm = 'RS256'
and
config.token_public_key = key.public_key
into initializer but still no luck. Key seems to be correct, at least it works in jwt.io
I would be grateful for any help.
Best, Iurii
The text was updated successfully, but these errors were encountered: