The redirect uri included is not valid

Hi!

I’m working to integrate Alpaca with a mobile app.

The integration is developed using Python Django. I managed to integrate it, but at the moment I go to the Alpaca platform and login, I got a message “The redirect uri included is not valid” and everything seems to be correct.

Would be nice if someone can help me figure out whats the problem here.

Thanks!

localhost apparently doesn’t work, so if using localhost maybe consider using ngrok. Another thing is that your provided url should match the one you have submitted in your app down to the slashes.

Lastly, i have also used this: Submit App (alpaca.markets) as oppose to the other way to build an app. maybe that was the reason?