SSO Module
Single Sign-On (SSO) support for authenticating Base44 users with external systems. Available viabase44.asServiceRole.sso.
Backend only: This module requires service role access and can only be used in Base44-hosted backend functions.
Methods
| Method | Signature | Description |
|---|---|---|
getAccessToken(userId) | Promise<SsoAccessTokenResponse> | Get an SSO access token for a specific user |
Examples
Get SSO Access Token
Get Token for a Specific User (Service Role)
Use Cases
- Authenticating Base44 users with external SaaS tools (e.g., Okta, Azure AD)
- Building SSO bridges between Base44 and third-party systems
- Generating tokens for backend-to-backend authenticated calls

