KMD Identity API - kmd-identity/documentation GitHub Wiki

About the KMD Identity API

The KMD Identity API is a REST API granting clients access to certain parts of the KMD Identity domain.

It can be found here: https://api.identity.kmd.dk/index.html

How to use the API

In order to use the KMD Identity API you must use the Client Credentials flow to obtain an access token with your application's client credentials.

The access token will contain an expiry time and the scopes you have requested, provided your application has been granted permission to request those scopes.

Ensure the access token is cached for the time it is valid to avoid requesting a new access token from KMD Identity before every request to the KMD Identity API. KMD Identity will eventually reject excessive calls to the KMD Identity token endpoint.

To start using the API please contact us here specifying:

  • That you would like access to the KMD Identity API.
  • The application id of the application that will request the access token.
  • The scopes you would like to be able to request.

The audience for the KMD Identity API is: urn:kmd-identity-api.prod

Example usage in authorize request: scope=urn:kmd-identity-api.prod/<scope 1> urn:kmd-identity-api.prod/<scope 2>

Where <scope 1> and <scope 2> are example scopes for the API.

⚠️ **GitHub.com Fallback** ⚠️