Get an access token

Authenticate using OAuth2 password grant flow to obtain an access token. Use the same endpoint to exchange your refresh_token for a new access_token if it's expired.

The token endpoint belongs to the Finologee identity provider (Keycloak, realm services), not to the tenant host. A token can be issued and still be refused by the FinologeeBKO API with 401, for example when it is used on the host of another tenant: see Authentication for the credentials, the checks on the token and its renewal.

Related

Form Data
string
enum
required

Grant type. For password grant flow, this should be 'password'. For refresh token flow, it should be 'refresh_token'.

Allowed:
string

The user's username. Required only for the password flow.

string

The user's password. Required only for the password flow.

string

The refresh token. Required only for refresh token flow.

string
required

The client ID is representing the tenant to which the token will grant access.

Responses

Language
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json