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