Skip to content
Migrating from NextAuth.js v4? Read our migration guide.

Medium Provider

리소스

설정

콜백 URL

https://example.com/api/auth/callback/medium

환경 변수

AUTH_MEDIUM_ID
AUTH_MEDIUM_SECRET

설정

/auth.ts
import NextAuth from "next-auth"
import Medium from "next-auth/providers/medium"
 
export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Medium],
})

참고 사항

  • 이메일 주소는 Medium API에서 반환되지 않습니다.
Auth.js © Balázs Orbán and Team - 2025