Support the ongoing development of Laravel.io →

14 Threads

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 1 year 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...

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.

© 2022 Laravel.io - All rights reserved.