Skip to content
The Auth.js project is now part of Better Auth.

Paybin Provider

Resources

Setup

Callback URL

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

Environment Variables

AUTH_PAYBIN_ID
AUTH_PAYBIN_SECRET

Configuration

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

By default, Auth.js assumes that the Paybin provider is based on the OIDC specification.

Auth.js © Better Auth Inc. - 2025