jeremykenedy / laravel-spa

A Laravel + Socialite + Vite + Vue 3 + TailwindCSS SPA Boilerplate with user authentication, registration, email verification, social media authentication, password recovery, user management, and roles/permissions management. Uses TailwindCSS. While the front end is part of this repository it is a completely separated Vue 3 front end.
https://spa.laravel-auth.com/
MIT License
241 stars 69 forks source link

app url and https #309

Closed leonpug closed 1 year ago

leonpug commented 1 year ago

Hi, set APP_URL=http://spa.test (also set SANCTUM_STATEFUL_DOMAINS=http://spa.test) in .env file. but request mix http and https with errors:

Immagine1

(my dev env is http only) how can i fix it?

thanks

github-actions[bot] commented 1 year ago

Hello, thank you for time. Please make sure the issue is not environment specific. If this is a security issue please email jeremykenedy@gmail.com

jeremykenedy commented 1 year ago

You probably need to clear your cache and rebuild the config with 'php artisan cache:clear'