# Get authorization token Get client authorization token for access to backend APIs. Endpoint: POST /oauth2/token Version: 0.0.1 Security: ## Query parameters: - `grant_type` (string) Method of authorization. Defaults to client_credentials. Example: "client_credentials" ## Response 200 fields (application/json): - `access_token` (string, required) Authorization token used to access backend APIs. - `scope` (string, required) Roles that the client has access to. - `token_type` (string, required) Type of token administered. - `expires_in` (integer, required) Token time to live (ttl) in seconds. ## Response 400 fields (application/problem+json): - `error_description` (string) Example: "OAuth 2.0 Parameter: grant_type" - `error` (string) Example: "unsupported_grant_type" - `error_uri` (string) Example: "https://datatracker.ietf.org/doc/html/rfc6749#section-5.2" ## Response 401 fields (application/problem+json): - `errors` (array) Example: ["An error occured"]