File: pinterest.md | Updated: 11/15/2025
š NextAuth.js is now part of Better Auth !
Version: v4
On this page
Documentationā
https://developers.pinterest.com/docs/getting-started/authentication/
Configurationā
https://developers.pinterest.com/apps/
Optionsā
The Pinterest Provider comes with a set of default options:
You can override any of the options to suit your own use case.
Exampleā
import PinterestProvider from "next-auth/providers/pinterest"...providers: [ PinterestProvider({ clientId: process.env.PINTEREST_ID, clientSecret: process.env.PINTEREST_SECRET })]...:::tipTo use in production, make sure the app has standard API access and not trial access:::