Solicitar token de acceso
Intercambia un grant OAuth 2.0 por un token de acceso y, cuando corresponde, un refresh token.
/connect/tokenIntercambia un grant OAuth 2.0 por un token de acceso y, cuando corresponde, un refresh token.
Cuerpo de la solicitud
application/x-www-form-urlencoded
Definiciones TypeScript
Usa esta definición en TypeScript.
Cuerpo de la respuesta
application/json
application/json
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/connect/token" \ -H "Content-Type: application/x-www-form-urlencoded" \ -d 'grant_type=client_credentials&client_id=app_replace_with_your_client_id&client_secret=replace_with_your_client_secret&scope=api_admin'{ "access_token": "eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9...", "token_type": "Bearer", "expires_in": 3600, "scope": "api_admin"}