Skip to content

advice on how to migrate away from this to Laravel Sanctum #132

Answered by eschricker
sts-ryan-holton asked this question in Q&A
Discussion options

You must be logged in to vote

I don't think that you need to migrate your password hashes. Because jwt-auth and Sanctum both rely on the Auth-facade and use Auth::attempt($credentials) to authenticate a user.

In the documentation of sanctum is an example how to implement a login method: https://laravel.com/docs/9.x/authentication#authenticating-users

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Messhias
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants