Clerk Sign out issue with Cloudflare Pages Next.js

Following up from here for record, https://discord.com/channels/595317990191398933/1129712984084713472/1129717047312531518 On vercel I get status=401, It occurs when clicked on signout, but it does sign me out fine (log error don't cause any problem). Cloudflare is bit shaky though & I can't completely figure it out. 1. For all sign out buttons ,it logs the clerk auth error. 2. On one instance, even with error, it logs me out fine without causing any trouble on screen. 3. On another instance, it gives me Application error: a client-side exception has occurred (see the browser console for more information). on screen. 4. On a third instance, it's not even signing me out and not giving any error. It just get stuck on signing out.
2 Replies
Vero
Vero12mo ago
Hey @reavatar please open an issue in this repo: https://github.com/cloudflare/next-on-pages/issues
GitHub
Issues · cloudflare/next-on-pages
CLI to build and develop Next.js apps for Cloudflare Pages - Issues · cloudflare/next-on-pages
James
James11mo ago
Please refer to my latest comment in the previous thread. If you are still encountering issues after trying out the prerelease in the PR I linked over there, please let me know.