Click HERE to see how Saviynt Intelligence is transforming the industry. |
01/24/2024 04:16 AM
Hi,
Is there any restriction in calling custom external APIs from Saviynt's GSP files? We have a custom role creation/update form and we wish to populate the values in those fields dynamically by fetching the details from an API response.
Alternatively, if anyone is aware of any other preferred approach to achieve this requirement then kindly let me know.
Thank you in advance!
Regards,
Akshar
01/24/2024 05:29 AM
01/25/2024 06:47 AM
Thank you for your response @rushikeshvartak! So I assume there is no restriction as such, from Saviynt. If that is the case, then we might even use in-built Javascript functions like fetch() to call any API.
Do let me know if you have any other thoughts/recommendations on this.
Thanks & Regards,
Akshar
01/25/2024 01:36 PM
Yes no restrications
02/07/2024 12:08 AM
Thank you @rushikeshvartak for your response. Just another doubt, to call any external authenticated API from the GSP, we would need to use some client credentials or username/password in the GSP to fetch the access token and call the external API.
Since hardcoding any credentials in a script is not a recommended practice, do you know of a way to fetch these values in the GSP from a Saviynt file or Saviynt keystore?
Also, if I need to call the Saviynt dataset API from the GSP, does Saviynt support a way to do it without having to explicitly fetch a Saviynt access token?
Any sort of help on this would be much appreciated!
Thanks & Regards,
Akshar
02/07/2024 08:16 PM
do you know of a way to fetch these values in the GSP from a Saviynt file or Saviynt keystore? --> You can check if externalconfig file is accessible there
if I need to call the Saviynt dataset API from the GSP, does Saviynt support a way to do it without having to explicitly fetch a Saviynt access token? --> check if dataset class is exposed in gsp