File: medium.md | Updated: 11/15/2025
š NextAuth.js is now part of Better Auth !
Version: v4
On this page
Documentationā
https://github.com/Medium/medium-api-docs
Configurationā
https://medium.com/me/applications
Optionsā
The Medium Provider comes with a set of default options:
You can override any of the options to suit your own use case.
Exampleā
import MediumProvider from "next-auth/providers/medium";...providers: [ MediumProvider({ clientId: process.env.MEDIUM_CLIENT_ID, clientSecret: process.env.MEDIUM_CLIENT_SECRET })}...\
danger
Email address is not returned by the Medium API.
\