Thalamus is a centralized OAuth2 authentication service built for modern applications. It enables any application to authenticate users without implementing their own login system.
One login for all your apps
Industry standard protocol
Enhanced security with MFA
Battle-tested and secure
One-time per service/vertical
Get client_id + client_secret
Implement authentication flow
Login โ Token โ Access to your app
A super admin creates an Admin API Key through the dashboard or API:
Create API key via dashboard or API with name, description, and scopes (clients:write, clients:read).
api_key
securely. It's shown only once!
client_id + client_secret
Your service registers as an OAuth2 client using the Admin API Key:
Use the Admin API Key to POST to /api/clients with: name, organization_id, client_type, redirect_uris, grant_types, and scopes. See Integration Guide for complete examples.
Save these credentials in your environment variables:
OAUTH2_CLIENT_ID=client_abc123...
OAUTH2_CLIENT_SECRET=secret_xyz789...
OAUTH2_REDIRECT_URI=https://myapp.com/auth/callback
OAUTH2_AUTHORIZE_URL=https://thalamus.example.com/oauth/authorize
OAUTH2_TOKEN_URL=https://thalamus.example.com/oauth/token
Implement the OAuth2 Authorization Code flow in your application:
See the Integration Guide for complete code examples in Node.js, Python, PHP, and more.
Your users can now authenticate through Thalamus! The flow works like this: