How to generate a token for Condeco SCIM API

To configure the SCIM application a valid, long-lived ‘Secret Token’ is required. To generate a Secret Token, a valid SCIM ClientId and SCIM ClientSecret are required. See the example below to generate a SCIM secret token.

Request

POST "https://<CONDECO-TP-Domain>/api/V1/token"

Request Body

Parameter Value Required Description
scimClientId 592233b043b744598d4eb0xxxxxxxxxxx True SCIM Client ID and SCIM Client Secret received at the time of On-boarding client
scimClientSecret YWM2ZGE5ZDAzMDYxNGU2MDk1NGUyYzxxxxxxxxxxx= True
grantType password True Must be equal to “password“.
tokenExpiry 84600 False
  • If not provided the default value is 84600 seconds (24 hours).
  • If provided, the value must be a positive integer.
  • Value must be within the range (60 to 315,360,000) seconds i.e 1 min to 10 years.

Response

{
    "accessToken": "xxxxxxxxciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.xxxxxxxxOjE2MDQzODU2OTYsImV4cCI6MTYwNDQ3MDI5NiwiaXNzIjoiU0NJTUNvbmR
                    lY28iLCJhdWQiOiI1OTIyMzNixxxxxjc0NDU5OGQ0ZWIwOTE0NzNlZjRiNCJ9.XxxxdOT0bj3Db5j_Oxxxxxxxxxxxxxxxxxxxxxxxxxx",
    "tokenType": "bearer",
    "expiresIn": 84599.0
}

Feedback

Was this helpful?

Yes No
You indicated this topic was not helpful to you ...
Could you please leave a comment telling us why? Thank you!
Thanks for your feedback.

Post your comment on this topic.

Please do not use this for support questions.
Condeco Support

Post Comment