laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.
https://laravel.com/docs/passport
MIT License
3.25k stars 780 forks source link

[12.x] Support rehash on login #1743

Closed gdebrauwer closed 1 month ago

gdebrauwer commented 1 month ago

In Laravel 11, "automatic rehashing of user passwords when validating credentials" was added as a feature (https://github.com/laravel/framework/pull/48665). This PR ensures that this feature also works when a user provides its credentials to passport (this is the case when using the password oauth grant type)

taylorotwell commented 1 month ago

I don't think we're recommending the password grant at this time. I'll try to revisit this at some point.