This package is abandoned and no longer maintained. The author suggests using the tokenly/tokenpass-client package instead.

A Laravel package for applications that wish to use Tokenly Tokenpass for user authentication.

v3.0.1 2018-08-23 12:45 UTC


A Laravel package for applications that wish to use Tokenpass for user authentication.


Add the Laravel package via composer

composer require tokenly/tokenpass-client


Install the views by running this command:

artisan tokenpass:make-auth

Set the following environment variables. You will need a client id and client secret generated by Tokenpass.


Additional Installation Steps

  • follow the tokenly/laravel-api-provider installation steps
  • The application container must resolve the interface TokenpassUserRespositoryContract. It defaults to App\Repositories\UserRepository.
  • Add the Tokenly\TokenpassClient\Concerns\FindsByTokenpassUuid trait to the UserRepository to implement the lookup by tokenly uuid.
  • run artisan migrate (or artisan migrate --step) to add the necessary fields to the users table
  • make sure config/auth.php points to the currect User model class
  • your User class should implement APIPermissionedUserContract