Coinbase Provider
Resources
Setup
Callback URL
https://example.com/api/auth/callback/coinbase
Environment Variables
AUTH_COINBASE_ID
AUTH_COINBASE_SECRET
Configuration
/auth.ts
import NextAuth from "next-auth"
import Coinbase from "next-auth/providers/coinbase"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Coinbase],
})
Notes
- This Provider template has a 2 hour access token to it. A refresh token is also returned.