Skip to content

Latest commit

 

History

History
23 lines (18 loc) · 517 Bytes

File metadata and controls

23 lines (18 loc) · 517 Bytes

The package has been configured successfully!

Make sure to first define the mapping inside the contracts/ally.ts file as follows.

import { Auth0Driver, Auth0Config } from 'ally-auth0/build/standalone'

declare module '@ioc:Adonis/Addons/Ally' {
  interface SocialProviders {
    // ... other mappings
    auth0: {
      config: Auth0Config
      implementation: Auth0Driver
    }
  }
}

Don't forget to complete the environment variables in your .env file:

  • AUTH0_CLIENT_ID
  • AUTH0_CLIENT_SECRET