HomePhorge
Diffusion kolab edbf36211e18

Laravel Passport support
edbf36211e18Unpublished

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.

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:

  • The TTL is currently set to 15 days. Should we just set it to 1h

again?

  • We might be able to simplify the SPA's token handling by using the

passport middleware that automatically stores the access_token in the
session.

  • 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

Details

Provenance
mollekopfAuthored on Apr 6 2021, 3:49 PM
mollekopfPushed on Apr 28 2021, 9:39 AM
Differential Revision
D2494: Laravel Passport support

Commit No Longer Exists

This commit no longer exists in the repository.