AuthPassDocumentation

Integrate AuthPass

AuthPass is a standards-based OpenID Connect provider. Register an app, get aclient_id/client_secret, and add “Login with AuthPass” to anything that speaks OIDC.

OIDC endpoints

Everything is discoverable from the issuer:
Discovery:  https://authpass.site/.well-known/openid-configuration
Authorize:  https://authpass.site/api/oidc/authorize
Token:      https://authpass.site/api/oidc/token
UserInfo:   https://authpass.site/api/oidc/userinfo
JWKS:       https://authpass.site/api/oidc/jwks
Scopes: openid profile email · Claims: sub, email, email_verified, name, role · Flow: Authorization Code (+ optional PKCE).

Quickstart

  1. Dashboard → Connected apps → Register an app.
  2. Copy the Client ID & Secret.
  3. Add your app's redirect URI.
  4. Point your framework's OIDC config at the issuer above.

Next.js (Auth.js v5)

// auth.ts
providers: [{
  id: "authpass", name: "AuthPass", type: "oidc",
  issuer: "https://authpass.site",
  clientId: process.env.AUTH_AUTHPASS_ID,
  clientSecret: process.env.AUTH_AUTHPASS_SECRET,
}]
Redirect URI: {origin}/api/auth/callback/authpass

Laravel

Use Socialite with a generic OIDC driver (e.g. kovah/laravel-socialite-oidc), giving it the issuer above; it auto-discovers the endpoints. Standard redirect/callback routes exchange the code and read userinfo.

WordPress (no plugin)

Paste a single functions.php snippet — no third-party plugin needed. It adds a “Sign in with AuthPass” button to wp-login, a [authpass_login] shortcode, and auto-creates users. Full script in the repo at docs/integrations/wordpress.md.

Wix

Wix is closed: native OIDC SSO is Wix Studio Enterprise / Channels only. For standard sites use Velo (generateSessionToken); for custom frontends use Wix Headless (getMemberTokensForExternalLogin). Wix always owns the session; linking is email-based.

Management API & MCP

Create a Personal Access Token in Profile → API keys, then:
curl -H "Authorization: Bearer apk_…" https://authpass.site/api/v1/me
# also: /api/v1/apps, /api/v1/organizations
Manage AuthPass from your AI editor via the hosted MCP server at https://mcp.authpass.site (Bearer your token), or run the local stdio server in mcp/.