lundi 28 janvier 2019

403 Forbidden on callback Oauth Google - Socialite Laravel

the Laravel application is located in a subfolder on a shared hosting. Login with Facebook and Twitter works, while The google callback

https://example.net/callback/google?state=...&code=..&scope=openid%20email%20profile%20https://www.googleapis.com/auth/userinfo.email%20https://www.googleapis.com/auth/userinfo.profile%20https://www.googleapis.com/auth/plus.me&authuser=0&session_state=...&prompt=none

gives me this error:

Forbidden

You don't have permission to access example.com/callback/google on this server.

Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.

I've looked around and I think the problem is due to Apache's AllowEncodedSlashes directive turned off. Unfortunately, shared hosting does not allow me to activate it. is it possible to solve this problem using htaccess? thank you



from Newest questions tagged laravel-5 - Stack Overflow http://bit.ly/2B9hXWb
via IFTTT

Aucun commentaire:

Enregistrer un commentaire