Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at /oauth/token. (Reason: CORS header 'Access-Control-Allow-Origin' missing)
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at /oauth/token. (Reason: CORS request failed).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at /oauth/token. (Reason: CORS request failed).
Add 'oauth/*' to config/cors.php:
'paths' => ['api/*', 'sanctum/csrf-cookie', 'oauth/*'],'
Categorieën
Laravel