JOSE_ALG_NOT_ALLOWED error on API verify #1188
zarnautovic
announced in
Help
Replies: 1 comment 1 reply
-
Hi @zarnautovic I am assuming the Please check out https://github.com/Web3Auth/examples/blob/main/web-core-sdk/server-side-verification/ssv-via-social-nextjs-core-example/pages/api/login.ts from our example repo to see how we have used it in a next.js application. The version used in the example is |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
We are using our API to verify auth and then create users in our database on registration finished.
We follow your guidelines from documentation: link.
Occasionally an error occurs:
"error": {
"code": "ERR_JOSE_ALG_NOT_ALLOWED",
"name": "JOSEAlgNotAllowed"
}
Id token and app pub key are supplied every time and we can see that in our logs.
Do you have idea what can be problem that causing this random error ?
Beta Was this translation helpful? Give feedback.
All reactions