skip to Main Content

Laravel – Cannot authenticate using spa

I have my API that run on this url: https://example.com, and my vue.js app which runs on this: https://app.example.com. So I configured as the following the .env: SESSION_DOMAIN=.example.com SANCTUM_STATEFUL_DOMAINS=https://app.example.com the axios configuration contains the following: import axios from 'axios' const…

VIEW QUESTION
Back To Top
Search