In the config/cors.php file I have the key value pair
'supports_credentials' => false,
What does "supports_credentials" do for true and what for false?
In the config/cors.php file I have the key value pair
'supports_credentials' => false,
What does "supports_credentials" do for true and what for false?
If your Request includes an Authorization header or uses Credentials mode, set the supports_credentials value in the config to true. This will set the Access-Control-Allow-Credentials Header to true.
for example, if you need to send cookies from the front-end to the back-end you need to set 'supports_credentials' to true. read more in the Mozilla docs.