Skip to content
Migrating from NextAuth.js v4? Read our migration guide.
Getting Started
Providers
Faceit

Faceit Provider

Resources

Setup

Callback URL

https://example.com/api/auth/callback/faceit

Environment Variables

AUTH_FACEIT_ID
AUTH_FACEIT_SECRET

Configuration

/auth.ts
import NextAuth from "next-auth"
import FaceIt from "next-auth/providers/faceit"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [FaceIt],
})

Notes

  • Grant type: Authorization Code
  • Scopes required to get basic infos like email, nickname, guid and avatar: openid, email, profile
Auth.js © Balázs Orbán and Team - 2024