Logto Provider
Resources
Setup
Callback URL
https://example.com/api/auth/callback/logto
Environment Variables
AUTH_LOGTO_ID
AUTH_LOGTO_SECRET
AUTH_LOGTO_ISSUER
Configuration
/auth.ts
import NextAuth from "next-auth"
import Logto from "next-auth/providers/logto"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Logto],
})