title: Laravel sanctum unauthenticated
body: <p>I am using Laravel sanctum in my project with angular as frontend. Getting unauthenticated from the second api request. Please let me know where am I going wrong</p>
  
  <p>Frontend-> 127.0.0.1:4200</p>
  
  <p>Backend-> localhost:8888</p>
  
  <p><strong>.env config</strong></p>
  
  <p>SESSION_DOMAIN=localhost
  SANCTUM_STATEFUL_DOMAINS=127.0.0.1</p>
  
  <p>Added middleware <strong>auth:sanctum</strong> to the routes group in api.php</p>
  
  <p><strong>Ref:</strong> <a href="https://prnt.sc/rm9ejy" rel="noreferrer">https://prnt.sc/rm9ejy</a> </p>