Hubspot Provider
리소스
설정
콜백 URL
https://example.com/api/auth/callback/hubspot
환경 변수
AUTH_HUBSPOT_ID
AUTH_HUBSPOT_SECRET
설정
/auth.ts
import NextAuth from "next-auth"
import Hubspot from "next-auth/providers/hubspot"
export const { handlers, auth, signIn, signOut } = NextAuth({
providers: [Hubspot],
})