2442sso uses standard OpenID Connect (OIDC) over OAuth 2.0. Any app that supports OIDC integrates in minutes.
https://sso.2442.io
https://sso.2442.io/sso/.well-known/openid-configuration
https://sso.2442.io/sso/authorize
https://sso.2442.io/sso/token
https://sso.2442.io/sso/userinfo
https://sso.2442.io/sso/logout
Go to Admin → Applications → New Application. Choose OIDC as protocol.
Add your callback URL as Redirect URI, e.g. https://yourapp.com/auth/callback.
Save and note down the Client ID and Client Secret.
If you need multiple redirect URIs (staging, production), add one per line in the Redirect URIs field.
When the user clicks "Sign in", redirect them to the Authorization endpoint:
After login, 2442sso redirects to your redirect_uri
with ?code=xxx&state=yyy. Verify state, then exchange the code server-to-server:
Use the access token to get the user's identity, then create/update the user in your app:
Full userinfo response example:
To sign out from both your app and 2442sso simultaneously:
These flows must be enabled per-application in Guardian Admin → Applications → Edit → API Grant Types.
sub).name and preferred_username.email and email_verified.roles array (superadmin, admin, employee, guest).| Method | Endpoint | URL | Description |
|---|---|---|---|
| GET | Discovery | https://sso.2442.io/sso/.well-known/openid-configuration |
OIDC metadata & endpoint URLs |
| GET | Authorization | https://sso.2442.io/sso/authorize |
Start SSO flow — redirect user here |
| POST | Token | https://sso.2442.io/sso/token |
Exchange code for access + ID tokens |
| GET | Userinfo | https://sso.2442.io/sso/userinfo |
Get user profile with access token |
| GET | Logout | https://sso.2442.io/sso/logout |
End session, redirect back to your app |
JWT_SECRET is not set or changes, all previously issued ROPC/CC tokens become invalid immediately.
The Setup Wizard generates this automatically — run /setup if missing.