Homekolab.org
Diffusion kolab 54a24077910c

Laravel Passport support

Authored by mollekopf on Apr 6 2021, 3:49 PM.

Description

Laravel Passport support

Summary:
Replaces the use of tymon:jwt with laravel:passport.

A password grant client is used create tokens for the webclient in the
same fashion as we used to the tymon:jwt solution.
The same password grant client can be used for other client applications.

Notes:

  • We're not currently purging invalidated/expired tokens. This can be

done via artisan command or scheduled task from php.

Differential Revision: https://git.kolab.org/D2494

  • Pass the refresh token
  • Custom authentication hook for passport
  • Added 2fa to user verification
  • Rely on second factor authentication in user model
  • Disabled unnecessary passport routes
  • Fixed password-reset

Details

Committed
mollekopfJul 13 2021, 10:32 PM
Pushed
mollekopfJul 13 2021, 10:33 PM
Differential Revision
D2494: Laravel Passport support
Parents
rKc3d75008fa94: Added cache to .gitignore
Branches
Unknown
Tags
Unknown
This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.