Vignesh Gupta
Vignesh Gupta12mo ago

Identity issue with Clerk Prod

Hello there, I'm facing issue const identity = await ctx.auth.getUserIdentity(); post deploying to prod with clerk prod instance, works fine dev instance. Provides identity as null.
3 Replies
Vignesh Gupta
Vignesh GuptaOP12mo ago
GitHub
GitHub - vignesh-gupta/boardy
Contribute to vignesh-gupta/boardy development by creating an account on GitHub.
Vignesh Gupta
Vignesh GuptaOP12mo ago
Here is the error:
Failed to authenticate: "No auth provider found matching the given token", check your server auth config
window.console.error @ 69-4e25dd88b0dc0651.js:1
overrideMethod @ console.js:213
tryToReauthenticate @ 875-a2f0439c7f1beb1a.js:9
onAuthError @ 875-a2f0439c7f1beb1a.js:9
(anonymous) @ 875-a2f0439c7f1beb1a.js:9
e.onmessage @ 875-a2f0439c7f1beb1a.js:9
Show 1 more frame
Show less
Failed to authenticate: "No auth provider found matching the given token", check your server auth config
window.console.error @ 69-4e25dd88b0dc0651.js:1
overrideMethod @ console.js:213
tryToReauthenticate @ 875-a2f0439c7f1beb1a.js:9
onAuthError @ 875-a2f0439c7f1beb1a.js:9
(anonymous) @ 875-a2f0439c7f1beb1a.js:9
e.onmessage @ 875-a2f0439c7f1beb1a.js:9
Show 1 more frame
Show less
Steps to reproduce : (Can only be done in PROD) 1. Go to https://boardy.vigneshgupta.tech/dashboard 2. Login with github 3. check the console.

Did you find this page helpful?