Tangoe Procurement for Rivermine and Command [MobProc]
How to Validate an Access Token
The following information is required to validate an access token:
- access_token: The access token to be validated.
NOTE: Some client IDs may not have the permissions required to validate tokens. When requested, this permission is granted on a case by case basis.
Endpoints
An access token is validated by making an HTTP GET to our validation endpoint. The specific endpoint used will depend upon your instance’s environment type:
- For Production:
http://tngo-prod-oauth-ping-validator.cloudhub.io
- For QA:
http://tngo-qa-oauth-ping-validator.cloudhub.io
Request Query Parameters
To validate an access token, the following query parameters need to be passed with this GET request:
Example
The following is an example of a GET request to validate a token:
https://oauthqa.tangoe.com/as/token.oauth2?grant_type=urn:pingidentity.com:oauth2:grant_type:validate_bearer=8jmFdZdww2h3FDYNJEHXgvtnXbdc=286ff94127c8801e9227d89337c14351=72g30d2857fo4a41A9525345572AC72LK
The following is an example of a response that might be returned:
{
"scope": "MOBPROC",
"expires_in": 7186,
"client_id": "286ff94127c8801e9227d89337c14351",
"access_token": {
"platform": "command",
"tenant": "XYZ",
"multitenant": "false",
"domain": "*",
"identityProvider": "pcv_edge",
"identifier": "api.account.xyz"
}
}
The following properties are returned in the token validation response: