# Navarik ID Authentication

Navarik ID is Navarik's OAuth2 identity management service. It supports user login, user identity federation, and service accounts for automated access.

To use the APIs documented here, you will need to first log in as a user and then generate credentials for a service account. These credentials are then used to generate OAuth2 JWT access tokens for use in your API calls.

  • log into bridge.navarik.com
  • create an Organization if you aren't currently in one
  • under settings, create a service account, record its client ID
  • create and record a client secret

This client ID/secret pair can be used with the Navarik ID token exchange endpoint to get a JWT access token.

# Oauth2 Token API

# Create a token

POST api.navarik.com/auth/v1/service-account/token

# Request body

Parameter Description Format Value
grant_type OAuth2 grant type string "client_credentials"
client_id service account ID string from Navarik ID UI
client_secret service account secret string from Navarik ID UI

# Response example

{
  "access_token": "eyJhbGc...",
  "token_type": "bearer",
  "expires_in": "12d"
}