cancel
Showing results for 
Search instead for 
Did you mean: 

Calling Rest APIs in a Javascript Policy

christoffer_fuss
Participant
0 Kudos

Hello community,

is it possible to call a Rest API in a Javascript Policy? I tried to include "Jquery" in my Javascript policy but it gives several errors that "document" and "window" are not defined.

I also tried with "XMLHttpRequest" but this is not defined as well.

So what else can I try?

Is it possible to use the defined destinations of SCP?

The background is :

I receive an email address in my policy in variable client.cn and want to check in my SAP Cloud Identity tenant if the user is existing there. Therefore I want to use the SCIM Rest API.

Best Regards,

Chris

Accepted Solutions (0)

Answers (0)