Announcing the SAVIYNT KNOWLEDGE EXCHANGE unifying the Saviynt forums, documentation, training, and more in a single search tool across platforms. Click HERE to read the Announcement.

How to generate a custom token

cdasari
New Contributor
New Contributor

We are working on a integration with Devo(Centralized log Management) tool, as part of this integration we are utilizing the Rest connector as the application supports Rest based implementation & for that we have the following usecases

Import Accounts & entitlements
Create/Update accounts
Add Acces

the above usecases need a custom token generated based on the below mentioned format

> Import Accounts & entitlements - api_Key + Timestamp
>  Create/Update Accounts - api_Key + Json Request Body (Request) + timestamp

This custom token is passed in the header during the each API call.

Please advice on the implementation of the above usecases 

Thank You,

Chaitanya.

5 REPLIES 5

SB
Saviynt Employee
Saviynt Employee

What is the timestamp value format you are passing and are you fetching this value from some other call.

Are you able to make these calls from Postman successfully.


Regards,
Sahil

cdasari
New Contributor
New Contributor

Thank You! for your reply, the timestamp is in milli secs & for making this calls i need to generate a token which is based on the above mentioned format, we have written a custom implementation to generate the token using custom HMAC implementation using Sailpoint but not sure how that can be implemented in Saviynt as we are migrating those apps to Saviynt.

Thank You,

Chaitanya.

SB
Saviynt Employee
Saviynt Employee

You can also use HMAC authentication in saviynt for REST Connector. Below is the link for our Connector guide, you can refer for the example for the same.

https://docs.saviyntcloud.com/bundle/REST-v23x/page/Content/Developers-Handbook.htm

Please ensure to validate your JSON from postman to ensure they are working before integrating with Saviynt.


Regards,
Sahil

cdasari
New Contributor
New Contributor

Thank You!, We have already looked at the specs of this implementation, but this won't work as we have to dynamically generate the token for each request, that token is based on different usecases.

Thank You,

Chaitanya.

SB
Saviynt Employee
Saviynt Employee

In this case, you can create 2 connections - 1 for provisioning and the other for Import. The same we can mention under Security system.

sahil_0-1681917610221.png

 


Regards,
Sahil