HB_BHF's avatar

Facebook login (URL blocked)

I have an option for users to sign via Facebook. I'm using Socialite package. Everything works fine on local server, but in production I am getting an error which says that URL is blocked. I know that URL needs to be assigned in Facebook application, and I've entered (for example myapp.com/redirect). But when I click Login button, in browser I get an URI: uri=http%3A%2F%2Flocalhost%3A8000% ... Where can I change this to myapp.com ? I've set an application to production mode config/app.php, and also APP_URL to http://myapp.com...

0 likes
2 replies
ahuggins's avatar

When you deployed to production, did you update the .env file to reflect the production environment?

Bcrypt's avatar

Have the same issue, any suggestions?

Please or to participate in this conversation.