Support the ongoing development of Laravel.io →

19 Threads

Auth guard [sanctum] is not definedlaravell

Sanctum Version 3.2 Laravel Version 10.23 PHP Version 8.2 Database Driver & Version MySQL 8 for...

0 Likes
0 Replies

Laravel API - NextJS Starter Kit cant login / authenticate

Hi, i am having trouble with sessions in laravel api with sanctum deployed on railway, authenticatin...

0 Likes
0 Replies

Laravel - Passkeys - 1Password - Passage

We got an already built React front, Laravel back webapp, using Sanctum. We need to integrate Passag...

amite liked this thread

1 Likes
0 Replies

laravel + sanctum, SPA authentication and testing it

Hello everyone. I'm trying to make a small SPA using vue.js and laravel sanctum. I did everything ac...

0 Likes
0 Replies

Laravel Sanctum Angular Authentication 419 error code

I'm trying to setup an authentication system using Laravel Sanctum and Fortify for the back-end and...

0 Likes
0 Replies

Laravel will share sessions to all subdomains?

I currently have an application running Laravel as an API and a SPA app as the frontend, they reside...

0 Likes
2 Replies

Date format on personal access token

I have a problem when I want to authenticate myself with Laravel Sanctum, when I generate a login th...

0 Likes
0 Replies

Sanctum unauthenticated on production, works locally

Hey, Sanctum works fine on my local machine, but has authentication problem on production. Any sugge...

0 Likes
2 Replies
Solved

how to pass bearer token (laravel sanctuml from vue js spa?

I have few API's with an 'auth/sanctum' middleware. I pass bearer token to access protected paths bu...

0 Likes
0 Replies

Sanctum with different connection

Hi We are working on project where multiple databases are connected. We have created connections i.e...

0 Likes
0 Replies

Authorization fails only on API routes

I'm trying to use auth:sanctum on the api route, but it returns "Not authenticated" even w...

0 Likes
1 Replies
Solved

Sactum Automatic Logout on user inactiviysanc

Hi, We are using santrum for mobile App APIs, We want to put the functionality of automatic log out...

0 Likes
1 Replies

Sanctum refresh token for react?

Hello everyone, i have question laravel sanctum, i'm creating authentication for spa & mobile ap...

0 Likes
1 Replies

CRUD registers all data in the table as NULL.php

I'm developing a CRUD with laravel sanctum, but in validation some of the fields need to accept NULL...

0 Likes
3 Replies

Create Json API with Auth using Laravel Sanctum

I am trying to create an API for getting all posts and creating a post. But the route can only be as...

0 Likes
1 Replies

Wrong user data with laravel sanctum

When I login by API and create token for user returning data are correct, but when I use that token...

0 Likes
1 Replies
Solved
posted 2 years ago

Revoking Sanctum API token doesn't appear to prevent use

Originally raised at https://github.com/laravel/sanctum/issues/272, instructed to move here. Sanctu...

jacobbrassington liked this thread

1 Likes
5 Replies

Getting Laravel Sessions

Is there a way to retrieve all user sessions and sessions for the current login user from the sessio...

0 Likes
1 Replies
Solved

Laravel Sanctum for Mobile

Hi! I'd like to know if there's a way to use just one method (stateless or stateful) for both web an...

0 Likes
0 Replies

Thanks to our community

Solutions given in the past year. Excluding solutions from thread authors.

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.