Skip to content
This repository has been archived by the owner on Jul 25, 2024. It is now read-only.

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

Open
q8tywolf opened this issue Jun 5, 2023 · 0 comments

Comments

@q8tywolf
Copy link

q8tywolf commented Jun 5, 2023

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
    }
  }
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant