Auth0 Issues with Mobile Browsers – Need Some Help!

0
8
Asked By TechWanderer92 On

I'm hosting a static site and an API on Digital Ocean, using Auth0 for authentication. Everything works great on desktop browsers, but I'm having issues on mobile browsers. After logging in via Auth0's universal login, my app on mobile can't access the token from cookies or localStorage, which is a major roadblock. I'm using Vue.js for the frontend and Node.js/Express for the API. Has anyone encountered similar issues with Auth0 on mobile? Any advice would be appreciated!

3 Answers

Answered By CodeMonkey77 On

Have you tried using the debug console on your Mac while connecting the phone? It might help you see if there’s a difference between how the app behaves on mobile versus desktop. Also, are you testing on both Android and iOS? And have you checked if the issue occurs over Wi-Fi and mobile data?

Answered By ScriptSlinger22 On

Hi! I noticed some differences in your code compared to standard practices. I suggest following the Auth0 quickstart guide for Vue.js exactly. Another tip is to use a tool like ngrok to test your localhost more easily. Check if the cookies or localStorage are being set correctly after login to help identify where the problem is.

Answered By DevChaser14 On

You mentioned seeing an error but didn’t provide the specifics. Can you confirm if it's showing `login required` even after successful authentication? It sounds like the redirect back to the app isn’t working on mobile, leading to an infinite loop.

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.