Files
archived-next-auth/docs/docs/reference/05-oauth-providers/faceit.md
2022-12-14 21:49:15 +01:00

780 B

id, title
id title
faceit FACEIT

Documentation

https://cdn.faceit.com/third_party/docs/FACEIT_Connect_3.0.pdf

Configuration

https://developers.faceit.com/apps

Grant type: Authorization Code

Scopes to have basic infos (email, nickname, guid and avatar) : openid, email, profile

Options

The FACEIT Provider comes with a set of default options:

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

Example

import FaceItProvider from "next-auth/providers/faceit";
...
providers: [
  FaceItProvider({
    clientId: process.env.FACEIT_CLIENT_ID,
    clientSecret: process.env.FACEIT_CLIENT_SECRET
  })
]
...