Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In case of an error condition, e.g. if the refresh token is no longer valid, the response will follow the same structure as for other token endpoint errors. The client should discard the refresh token and obtain a new access token using the server-side flow.

Access token and refresh token 

Keycloak provides a possibility to configure different lifespan of access token and refresh token. This is all done on the Tokens tab in the Keyclock. Expiration time can be configured for:

  • Access token in Access Token Lifespan field
  • Refresh token in SSO Session Idle field 

See Session and Token Timeouts for more detailed information. 

Using an access token to access the Archie API

...