Jwt-auth: Class 'Tymon\JWTAuth\Providers\JWT\NamshiAdapter' not found

Created on 27 Sep 2017  路  7Comments  路  Source: tymondesigns/jwt-auth

[Symfony\Component\Debug\Exception\FatalThrowableError]
Class 'Tymon\JWTAuth\Providers\JWT\NamshiAdapter' not found

The class is named Namshi.php instead of NamshiAdapter.php.

Most helpful comment

find you jwt.php of config file, update three part

  1. 'jwt' => 'Tymon\JWTAuth\Providers\JWT\Namshi',
  2. 'auth' => 'Tymon\JWTAuth\ProvidersAuth\Illuminate',
  3. 'storage' => 'Tymon\JWTAuth\Providers\Storage\Illuminate'
    i have fixed it and it worked

All 7 comments

Where/how did you fixed it?

I realized that I was using and old version of the config file. Deleted the old version of the config file and published the new one and it worked.

find you jwt.php of config file, update three part

  1. 'jwt' => 'Tymon\JWTAuth\Providers\JWT\Namshi',
  2. 'auth' => 'Tymon\JWTAuth\ProvidersAuth\Illuminate',
  3. 'storage' => 'Tymon\JWTAuth\Providers\Storage\Illuminate'
    i have fixed it and it worked

This still happens with v-1.0.0-RC2. Perhaps revise php artisan vendor:publish --provider="Tymon\JWTAuth\Providers\JWTAuthServiceProvider" routine

angel8731 commented on Oct 11, 2017 fixed my error thank you

Good article.

|-_-| Thanks

Was this page helpful?
0 / 5 - 0 ratings

Related issues

aofdev picture aofdev  路  3Comments

marciomansur picture marciomansur  路  3Comments

harveyslash picture harveyslash  路  3Comments

shah-newaz picture shah-newaz  路  3Comments

heroghost picture heroghost  路  3Comments