Skip to content

feat: add Scalekit SSO provider#13392

Open
saif-at-scalekit wants to merge 4 commits intonextauthjs:mainfrom
saif-at-scalekit:feat/scalekit-provider
Open

feat: add Scalekit SSO provider#13392
saif-at-scalekit wants to merge 4 commits intonextauthjs:mainfrom
saif-at-scalekit:feat/scalekit-provider

Conversation

@saif-at-scalekit
Copy link

@saif-at-scalekit saif-at-scalekit commented Mar 9, 2026

Scalekit is an enterprise SSO platform supporting SAML, OIDC, and social login (Google, Microsoft, GitHub, etc.) connections. It exposes a single OIDC-compliant interface, so Auth.js auto-discovers all endpoints from the issuer URL — no manual endpoint configuration required.

Changes

  • packages/core/src/providers/scalekit.ts — OIDC provider with JSDoc
  • docs/pages/getting-started/providers/scalekit.mdx — setup guide
  • docs/public/img/providers/scalekit.png — provider logo
  • .github/ISSUE_TEMPLATE/2_bug_provider.yml — added Scalekit to dropdown

Usage

import NextAuth from "next-auth"
import Scalekit from "next-auth/providers/scalekit"

export const { handlers, auth, signIn, signOut } = NextAuth({
  providers: [Scalekit],
})

With SSO routing:

Scalekit({
  connectionId: "conn_...",   // exact connection
  organizationId: "org_...", // org's active SSO connection
  domain: "acme.com",        // resolve org from email domain
})

Environment Variables

AUTH_SCALEKIT_ID
AUTH_SCALEKIT_SECRET
AUTH_SCALEKIT_ISSUER   # e.g. https://yourenv.scalekit.dev

Resources

@vercel
Copy link

vercel bot commented Mar 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
auth-docs Ready Ready Preview, Comment Mar 9, 2026 8:00pm
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
next-auth-docs Ignored Ignored Preview Mar 9, 2026 8:00pm

Request Review

@vercel
Copy link

vercel bot commented Mar 9, 2026

@saif-at-scalekit is attempting to deploy a commit to the authjs Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions bot added providers core Refers to `@auth/core` labels Mar 9, 2026
Scalekit is an enterprise SSO platform (SAML, OIDC, social login)
that exposes a single OIDC-compliant interface. Auth.js auto-discovers
all endpoints from the issuer URL via .well-known/openid-configuration.

Supports flexible SSO routing via connectionId, organizationId, or domain.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Refers to `@auth/core` providers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant