Diffusion kolab 6b017cad0c7e

Laravel Passport support

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.
This commit no longer exists in the repository. It may have been part of a branch which was deleted.This commit has been deleted in the repository: it is no longer reachable from any branch, tag, or ref.


Laravel Passport support

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.


  • 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


mollekopfAuthored on Apr 6 2021, 3:49 PM
mollekopfPushed on Aug 17 2021, 12:55 PM
Differential Revision
D2494: Laravel Passport support

Commit No Longer Exists

This commit no longer exists in the repository.