Faceit 提供商
资源
安装
回调 URL
https://example.com/api/auth/callback/faceit
环境变量
AUTH_FACEIT_ID
AUTH_FACEIT_SECRET
配置
/auth.ts
import NextAuth from "next-auth"
import FaceIt from "next-auth/providers/faceit"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [FaceIt],
})
注释
- 授权类型:
Authorization Code
- 获取基本信息(如电子邮件、昵称、GUID 和头像)所需的范围:
openid, email, profile