Insomnia

Guide to setting up OAuth2 Client Credentials in Insomnia for authenticating your service.

In Insomnia, you can set the authorization method and details per request. To authenticate your service, perform the following setup:

  1. Choose the OAuth2 authorization type.

  2. Select the Client Credentials grant type.

  3. Use the following access token URL: https://connect.visma.com/connect/token.

  4. Fill in the client ID and the client secret.

  5. Enter the scope business-graphql-service-api:access-group-based.

  6. Select As Basic Auth Header option for Credentials combo.

These settings are shown in the following image:

Configure Insomnia

Tip

You can read more about authentication in Insomnia here.

Last modified September 24, 2024