WorkOS · Schema
SsoTokenResponse
AuthenticationIdentity ProviderSSOSAMLOIDCSCIMDirectory SyncAuthorizationFGAAudit LogsMFAB2B SaaSAgentsMCP
Properties
| Name | Type | Description |
|---|---|---|
| token_type | string | The type of token issued. |
| access_token | string | An access token that can be exchanged for a user profile. Access tokens are short-lived — see the `expires_in` field for the exact lifetime. |
| expires_in | integer | The lifetime of the access token in seconds. |
| profile | object | The user profile returned by the identity provider. |
| oauth_tokens | object | OAuth tokens issued by the identity provider, if available. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/SsoTokenResponse",
"title": "SsoTokenResponse",
"type": "object",
"properties": {
"token_type": {
"type": "string",
"description": "The type of token issued.",
"const": "Bearer"
},
"access_token": {
"type": "string",
"description": "An access token that can be exchanged for a user profile. Access tokens are short-lived \u2014 see the `expires_in` field for the exact lifetime.",
"example": "eyJhbGciOiJSUzI1NiIsImtpZCI6InNzby..."
},
"expires_in": {
"type": "integer",
"description": "The lifetime of the access token in seconds.",
"example": 600
},
"profile": {
"$ref": "#/components/schemas/Profile",
"description": "The user profile returned by the identity provider."
},
"oauth_tokens": {
"type": "object",
"properties": {
"provider": {
"type": "string",
"description": "The OAuth provider used for authentication.",
"example": "GoogleOAuth"
},
"refresh_token": {
"type": "string",
"description": "The refresh token from the OAuth provider.",
"example": "1//04g..."
},
"access_token": {
"type": "string",
"description": "The access token from the OAuth provider.",
"example": "ya29.a0ARrdaM..."
},
"expires_at": {
"type": "integer",
"description": "The timestamp at which the access token expires.",
"example": 1735141800
},
"scopes": {
"type": "array",
"items": {
"type": "string"
},
"description": "A list of OAuth scopes for which the access token is authorized.",
"example": [
"profile",
"email",
"openid"
]
}
},
"required": [
"provider",
"refresh_token",
"access_token",
"expires_at",
"scopes"
],
"description": "OAuth tokens issued by the identity provider, if available."
}
},
"required": [
"token_type",
"access_token",
"expires_in",
"profile"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/workos-ssotokenresponse"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.