-
Notifications
You must be signed in to change notification settings - Fork 224
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
Error "Failed to decode JWT: Unsupported algorithm or incorrect key" when I'm trying to decode my token #90
Comments
This library only supports the HS* algorithms listed at https://github.com/kylef/JSONWebToken.swift#algorithms. You are using the RS256 algorithm which is not supported by this library. |
Well, What can I do ? |
Hi Kyle,
There is a pending pull request from Anders Melen for adding RS256 and RS512 support… could you please take a look at that, as it would help us too!
Thanks,
—Lou
…________________________________
Lou Krieg, President
Green Mountain Software
802.865.2728 (office)
802.355.8355 (cell)
www.GreenMountainSoftware.com<http://www.greenmountainsoftware.com> [https://greenmountainsoftware.com/wp-content/uploads/2017/09/GMS-LOGO-COLOR.png] <http://www.greenmountainsoftware.com>
On Oct 5, 2017, at 12:14 PM, Kyle Fuller <notifications@github.com<mailto:notifications@github.com>> wrote:
This library only supports the HS* algorithms listed at https://github.com/kylef/JSONWebToken.swift#algorithms. You are using the RS256 algorithm which is not supported by this library.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub<#90 (comment)>, or mute the thread<https://github.com/notifications/unsubscribe-auth/AD7cZf1bZNrAUaWBys5bzZgm2_JqvqCGks5spQBjgaJpZM4PvUsj>.
|
We do need that RS512 pull request to be handled... |
Hi @kylef
/// Verify a signature for a message using the algorithm
Any Idea what went wrong here? |
I have the following code:
But I have that error. Now when I'm validating on jwt.io I had a valid decodification. There's a picture of that validation:
So i dont understand what am I doing wrong. Any suggestion?
Best Regards
The text was updated successfully, but these errors were encountered: