I have read too many solutions but still not solved my issue. I am using Laravel (sanctum) in backend and Next js in front-end. Laravel version: 9 Ba ...
I have read too many solutions but still not solved my issue. I am using Laravel (sanctum) in backend and Next js in front-end. Laravel version: 9 Ba ...
I'm developing an application with Vue 3 and Laravel 9. I did all login, registration and logout. However, I had an idea to keep the session unique p ...
I am following a tutorial on building an API in Laravel. I have reached the stage of Authentication/Authorisation and have a question about best pract ...
I have been working with Laravel since version 5.X up to version 8.X but always use it for backend API (never used blade template), and always pair it ...
I know I can set sanctum token expiration time in config/sanctum.php but this expiration seems to be global. How can I set a different expiration time ...
I installed Laravel 9 and Sanctum, made a migration and tried to create token with 'createToken' method from User class which extends from Authenticat ...
So I have an app (laravel backend, GatsbyJS frontend) that I'm helping to work on. A month ago, all users were able to log in with no issues. But I fo ...
So I have a SPA set up to authenticate with a Laravel application using Laravel Sanctum's suggested cookie-based authentication. I'm having a bit of ...
Little question: my authentication with Sanctum has issues... My login fonction: In local: The first consoleLog is ok, API CSRF Cookie is OK. ...
We are working on project where multiple databases are connected. We have created connections i.e. dbconnection1 and api. We are facing problem in con ...
I am using Laravel Sanctum and have customised the model (followed the config here: https://laravel.com/docs/9.x/sanctum#overriding-default-models). ...
Referring to the following code from Sanctum: Source: https://github.com/laravel/sanctum/blob/31fbe6f85aee080c4dc2f9b03dc6dd5d0ee72473/src/HasApiTo ...
I'm try to use Laravel 8.x and Laravel sanctum 2.14.2 to authenticate my API and UUIDs as the primary key for my User model. My custom PersonalAccess ...
Hello i'm newbie in laravel. I use for authorization sanctum. But i want that some request can available for authorization user (i use laravel for onl ...
After migration to Laravel Octane, the dusk tests fails with 419 Page Expired. Before the migration, everything was fine... I made the following chan ...
I am trying use Sanctum to create an API service in Laravel. My use case is people authenticate to get an access token, and they are able to use this ...