NEXTAUTH_SECRET
as an environment variable, it will be used to encrypt and decrypt user sessions. Learn more.
Create your API route at app/api/auth/[...nextauth]/route.ts
.
siweConfig
.verifyMessage
method should lean on the siwe package’s new
getSession
method.
signOut
.
(session?: SIWESession) => void
() => void
boolean
- defaults to true
number
- defaults to 300000
ms (5 minutes)number
- defaults to 300000
ms (5 minutes)boolean
- defaults to trueboolean
- defaults to trueboolean
- defaults to true