OAuth

Retrieve a JWT from a client's credentials

Retrieves a JWT from a client's credentials.

post/oauth/token

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/oauth/token
  • Auth: none declared

Request body

client_idstring

String representation of a MongoDB ObjectId

client_secretstring

Uuid representation of client secret

grant_type'client_credentials'

Response

result

access_tokenstring

The JWT providing the user access to IAP

token_type'bearer'

The type of token provided

expires_in'3600'

The amount of time until the JWT expires

Changes

No recorded changes to this operation across all 1 revision of this API.