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