Matt
Matt11mo ago

Unexpected missing refreshToken cookie during client refresh

I've been developing a nextjs app with convex for the last couple of weeks. Overall found it really great to work with. I'm using convexAuth which again has been working with no issues until just now I've been trying to access my app via my iPad through my local ip address for testing on a second device. (iPad is on the same office wifi) I can connect to the project and try to login but once I hit the login button I get this error in the console - GET /signin?_rsc=1rwc8 200 in 23ms Convex Auth: Unexpected missing refreshToken cookie during client refresh. Do I need to adjust my auth.config or elsewhere? Many thanks in advance
7 Replies
Convex Bot
Convex Bot11mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
Matt
MattOP11mo ago
Any reccomendations here? I still can't get this to work...
ballingt
ballingt11mo ago
What version of convex-auth are you using?
Matt
MattOP11mo ago
It's "@convex-dev/auth": "^0.0.72". Thanks
ballingt
ballingt11mo ago
That's slightly old, if you can repro this with the newest @convex-dev/auth (0.0.74) that would be helpful. Sounds like the issue is specific to an ipad?
Matt
MattOP11mo ago
No I've just tried with my phone and that's the same. It's an Android phone. Seems to be any device trying to access it. I'm able to access the signIn page but as soon as I submit I get the same Unexpected missing refreshToken cookie error in the console. I'll try to update the auth version later and see if that fixes it.
Artyom | artykara
I am getting the same issue now with the latest package.

Did you find this page helpful?