I'm using Laravel Sanctum 3.x in my Laravel 9 project. I'm building a Microservice feature and need to authenticate them via my Microservice model whe ...
I'm using Laravel Sanctum 3.x in my Laravel 9 project. I'm building a Microservice feature and need to authenticate them via my Microservice model whe ...
I'm just configured laravel project with sanctum. And trying to check is ok, making request to /api/user: But facing this error: after that I t ...
I am trying to create a login token for a user after they register on my application and have verified their mobile device using an OTP sent via sms. ...
This is my auth.php file This is my login function in my LoginController I am also using sanctum for authentication in my routes file i am using ...
I'm trying to setup an authentication system using Laravel Sanctum and Fortify for the back-end and Angular for the front-end. The front-end is runni ...
I have read through just about every Stack thread about this but am still getting nowhere. Using fresh install of Laravel 9.48.0. cors.php: .htacc ...
I'm trying to figure out why Sanctum gives off this error when I try to login my system. These are the files mentioned in the Laravel Sanctum Docum ...
I am working on a project where I have used Laravel 9 for the backend and React for the frontend. Whenever i try to make a request it return unauthori ...
I have a fresh installation of Laravel Sanctum API. When I try to log a user in after registration or when submitting the registration form twice, I g ...
I am developing apis in laravel which will be used by some external companies. Here I am confused that should I use Laravel Sanctum or Passport (Perso ...
I'm using Laravel Sanctum v3 in my Laravel project. I have an API controller which has the auth:sanctum middleware attached to it. I'm using the API k ...
This is the way I generate a token for the user, Is there any way to automatically expire this token after a certain amount of time? (Which means a ...
I'm using vuejs and sanctum to authenticate my spa. Everything works but the confusing part for me is how do we verify if we're login or not when we R ...
I am working on a project (Laravel API - Sanctum & NextJs). Logging in and everything is working fine on localhost and postman but it shows 'CSRF ...
I have developed an API project on Laravel with Sanctum (Token) and NextJs for the frontend. I have setup things up correctly and everything is workin ...
I'm implementing a Laravel API + React SPA with Sanctum authentication. With Sanctum, before requesting the actual login route, you need to send a re ...
I want to display the data of the authenticated user and also produce a status code and a status message when the user is not authenticated. I am usin ...
I'd like to use UUID's for my user table and therefore have to modify the personal_access_tokens table to be able to handle it (uuidMorphs() insteand ...
I'm using nuxt 3 for a project and can't find an easy way to do authentication with Laravel and Sanctum. The @nuxtjs/axios module is only compatible ...
I'm trying to setup Laravel Sanctum to issue API tokens. When I do $user->createToken('test');, it fails while attempting to insert the generated ...