KindeK
Kinde3y ago
4 replies
internetjohnny

Cannot login when doing local development on mobile device

I am doing local development, so I've added the following as my allowed callback URLs:

http://localhost:3000/api/auth/kinde_callback
http://192.168.8.167:3000/api/auth/kinde_callback (my macbook's local IP)

When I'm testing on desktop, I connect using localhost, and logging in with Kinde works perfectly.

However, when trying to login on mobile, I have to use my Macbook's local address, and it doesn't work properly. After login using Kinde's hosted UI, I get redirected to localhost, instead of the local IP (which doesnt show anything, of course)

Is there a way to address this issue? It seems like Kinde should know I came from the local IP, instead of localhost, and redirect me there.
Was this page helpful?