HomePhorge
Diffusion kolab 226150e4d192

Laravel Passport support
226150e4d192Unpublished

Unpublished Commit ยท Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

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

Provenance
mollekopfAuthored on Apr 6 2021, 3:49 PM
machniakPushed on Aug 19 2021, 1:57 PM
mollekopfPushed on Aug 12 2021, 10:11 AM
Differential Revision
D2494: Laravel Passport support
Parents
rK49da450ef27c: Fix some flaky browser tests assertions
Branches
Unknown
Tags
Unknown

Event Timeline