Invalid request (Unsupported SSL request)
I cannot access my project using url https://localhost:8000 (I am doing Facebook login application)
How can I fix this? Thank you very much

on localhost, https still works but laravel doesn't
@datlechin where are you seeing Invalid request (Unsupported SSL request)?
And if I may ask, where or how did you get a cert for localhost?
terminal in vscode
@datlechin
- Did you specify https://localhost:8000 to facebook anywhere by mistake?
- After the facebook redirect, can you just change it to
http:// and continue?
- The Laravel built in
server.php does not support HTTPS.
- For HTTPS, you need to use a proper HTTP server
So is there any way I can use https on laravel of localhost
@datlechin
- no, not using
server.php like what you are doing now
- The only way is to setup a proper HTTPS server
Check APP_ENV variable in your .env file. Set it to local. This solved my same issue
I was facing the same issue. I made following changes:
changed APP_URL_SCHEME=https to APP_URL_SCHEME=http
this solved my problem
Please or to participate in this conversation.