unexpected JWT alg received, expected RS256, got: HS256 #597
Unanswered
LamaDabbeet
asked this question in
Q&A
Replies: 1 comment 3 replies
-
Not sure why, but if the algorithm used by your auth server is different from the default client config RS256, you must set it explicitly:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello
I am using
"openid-client": "^5.4.2"
this with nuxt3 inside the netro server , when trying to get the token I got thiserrorunexpected JWT alg received, expected RS256, got: HS256
I am using client.callback() instead of client.oauthCallback() the reason behind that , I got this error earlier
id_token detected in the response, you must use client.callback() instead of client.oauthCallback()
So now I am not sure what is the main problem here ,and how to solve it ,
Thank you
Beta Was this translation helpful? Give feedback.
All reactions