Full API via OAuth - Bearer Token
The OAuth API provides full access to the Limio app API. This API can be used for posting orders, reading Limio objects and other operational tasks.
How to get an OAuth Bearer Token?
OAuth bearer tokens can be generated using the OAuth API endpoints.
For SSO (Single Sign-On) the OAuth endpoints can be connected to SAML or OpenID Connect identity providers, please contact us at support@limio.com for details on how to enable this.
The OAuth-supported flows are:
Authorize endpoint
The authorize API allows you to perform a web login to retrieve an authorisation code which can be exchanged for a token.
Returns: The API will return the following redirect response.
HTTP/1.1 302 Found
Location: redirect_uri?code=AUTHORIZATION_CODE&state=STATE
The state should be checked against the value that was passed in, then the AUTHORIZATION_CODE
extracted and passed to the token API.
Token endpoint
The token endpoint can be used to turn an authorization token into an access token. This method can also be used to establish a client credentials grant.
POST /oauth2/token
Run this command line in your terminal:
This will return:
HTTP/1.1 200 OK
Content-Type: application/json
{
"access_token":"<Access Token>",
"id_token":"<ID Token>",
"token_type":"Bearer",
"expires_in":3600
}
Last updated