You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to implement an authentification for a vuejs frontend with a laravel aplication. I followed the steps for using this package but I still have an issue.
From the backend I get this:
When testing with postman it seems ok.
My code for the login is this:
I added some logs here:
But here there is no Authorization header.
Although in the network tab I see it:
Maybe it is something I don't see. Any ideas?
Sorry if this is not the right place to ask.
Thanks,
The text was updated successfully, but these errors were encountered:
@alxetd you need to add "Authorization" to the exposed_headers array in the Laravel file config/cors.php
Like this 'exposed_headers' => ['Authorization'],
Hello,
I'm trying to implement an authentification for a vuejs frontend with a laravel aplication. I followed the steps for using this package but I still have an issue.
From the backend I get this:
When testing with postman it seems ok.
My code for the login is this:
I added some logs here:
But here there is no Authorization header.
Although in the network tab I see it:
Maybe it is something I don't see. Any ideas?
Sorry if this is not the right place to ask.
Thanks,
The text was updated successfully, but these errors were encountered: