Files
archived-next-auth/docs/versioned_docs/version-beta/oauth-providers/auth0.md
Lluis Agusti cb56cd44ca refactor(docs): re-structure (#4498)
* docs: beta initial commit

* docs(oauth): finish initial tutorial

* docs(oauth-tutorial): finish guide

* docs(docusaurus): just log broken links

* docs: re-organising beta

* docs(beta): sort documents for sorting

* docs: more re-structure

* docs: more re-structure (2)

* fix: more WIP

* fix: more WIP

* chore: more updates

* chore: wip

* chore: wip

* fix lock file

* docs(getting-started): credentials

* chore: remove json-server file

* chore: cleanup

* remove mongodb from dev app

* chore: cleanup

* revert

* chore: cleanup

* chore: more cleanup changes

Co-authored-by: Balázs Orbán <info@balazsorban.com>
2022-10-15 15:45:33 +01:00

783 B
Raw Blame History

id, title
id title
auth0 Auth0

Documentation

https://auth0.com/docs/api/authentication#authorize-application

Configuration

https://manage.auth0.com/dashboard

Options

The Auth0 Provider comes with a set of default options:

You can override any of the options to suit your own use case.

Example

import Auth0Provider from "next-auth/providers/auth0";
...
providers: [
  Auth0Provider({
    clientId: process.env.AUTH0_CLIENT_ID,
    clientSecret: process.env.AUTH0_CLIENT_SECRET,
    issuer: process.env.AUTH0_ISSUER
  })
]
...

:::note issuer should be the fully qualified URL  e.g. https://dev-s6clz2lv.eu.auth0.com :::