You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started noticing recently that when I try to register and redirect with Devise Token Auth on my local environment, the redirect fails if I am using any IP address besides localhost. I receive a 422 Unprocessable Entity error code and my response contains an error "Redirect to 'http://10.0.2.2:3001/` not allowed." Examples of IP addresses that cause this are ones like 10.0.2.2 from a virtual machine / simulator, or even 127.0.0.1 on my native desktop. If I replace these IP address with localhost then all works correctly.
The text was updated successfully, but these errors were encountered:
I have started noticing recently that when I try to register and redirect with Devise Token Auth on my local environment, the redirect fails if I am using any IP address besides localhost. I receive a
422 Unprocessable Entity
error code and my response contains an error "Redirect to 'http://10.0.2.2:3001/` not allowed." Examples of IP addresses that cause this are ones like10.0.2.2
from a virtual machine / simulator, or even127.0.0.1
on my native desktop. If I replace these IP address with localhost then all works correctly.The text was updated successfully, but these errors were encountered: