Why is my Next.js app’s authentication failing on iPad but working fine on desktop?

0
2
Asked By CodingWizard42 On

I'm developing a Next.js app that uses Supabase for OAuth, and I've run into a weird problem. The authentication works perfectly on desktop, but when I try it on my iPad (both in Safari and Chrome), it fails. Has anyone experienced this issue or have any suggestions for how to fix it?

1 Answer

Answered By TechSavvy23 On

What's the error message you’re seeing? It’s important to narrow down the issue.

CodingWizard42 -

I'm getting a 401 unauthorized error. It seems like the session or user info isn't loading properly, so it's not passing through the middleware and isn’t receiving the auth token.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.