maxgalbu / adonis5-jwt

JWT Authentication service for Adonisjs v5
MIT License
86 stars 15 forks source link

Error: No provider implementation found in ProvidersList. Maybe you didn't configure @adonisjs/auth first? #28

Open q8tywolf opened 1 year ago

q8tywolf commented 1 year ago

This does not work with custom User provider

  interface ProvidersList {
    /*
    |--------------------------------------------------------------------------
    | User Provider
    |--------------------------------------------------------------------------
    |
    | The following provider directlly uses Database query builder for fetching
    | user details from the database for authentication.
    |
    | You can create multiple providers using the same underlying driver with
    | different database tables.
    |
    */
    user: {
      implementation: CustomAuthProvider
      config: CustomAuthProviderConfig
    }
  }