Auth
Esta página no está disponible en español. Se muestra la versión en inglés.
Exchange Keycloak code for B2Translate tokens
Exchanges a Keycloak authorization code for B2Translate access/refresh tokens. Implements the BFF half of the OpenID Connect Authorization Code Flow.
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/v2/auth/sso" \ -H "Content-Type: application/json" \ -d '{ "code": "eyJhbGciOi...", "redirect_uri": "http://localhost:4200/auth/sso/callback" }'{ "access_token": "string", "refresh_token": "string", "expires_in": 0, "refresh_expires_in": 0}Empty
Empty
Empty