Getting Server error when setting Github sign in with Convex Auth in Next js
i am receiving this errior in my Next js terminal when trying to sign up using github in my Convex app.....Uncaught Error: Uncaught TypeError: "pkcs8" must be PKCS#8 formatted string
13 Replies
i regenerated the JWKS and JWT private key and pasted in my Convex dashboard and im getting a diferent error...Uncaught Error: Uncaught InvalidCharacterError: Failed to execute 'atob': Invalid byte 61, offset 1622.
Can you post how you're trying to set it? Did you sent env keys in convex dashboard?
yes i did
this is what the environment keys look like
@Nerdkidchiki Can you show me how your auth.ts file looks
this is it
Is your code open source?
nope
The accounts are being created in the dasboard a nd all but the session is not being returned...
Hmm
I'd need to check it out
I can try to recreate it
I'm using NextJS and Convex Auth at the moment and havent run into this
i will try and reinstall and go throght the process again
Yeah let me know what happens, if you haven't done much and it's just the auth, I'm more than happy to check it out if you wannt invite me to the repo
(I'd also try incognito / clearing local storage + cookies to make sure there's nothing stored there that's messing this up)
Thanks so much i managed to resolve the issue...seems i didnt properly set up the convex auth