- We have a Beforeoperation rule to connect with PING ID . The BO rule generates the JWT token which is being injected into the body of the HTTP web operations.
- for create user, same BO rule is attached. And in BODY below is kept . It is working in postman/bruno outside of sailpoint and creating the account.
“reqHeader”: { … },
“reqBody”: {
“activateUser”: false,
“fname”: “John”,
“lname”: “Doe”,
“email”: “[email protected]”,
“username”: “jdoe”,
“role”: “REGULAR”,
}
the above is kept in BODY of create HTTP operation, then BO rule will run which will use that to create a relevant JWT token and then it will inject it back to BODY.
When I run an entitlement request for an user to PING ID as it will activate create web operation and then add entitlement operation I am getting 403 error. My body is like this
“reqBody”: {
“activateUser”: false,
“fname”: “$plan.fname$”,
“lname”: "$plan.lname$,
“email”: “$plan.email$”,
“username”: “$plan.username$”,
“role”: “REGULAR”
}
- So I just created a test conencytion but end point I gave for adding user and in body I created hardcoded values for above and that ran along with BO rule and it created the account when I pressed “test connection”
But otherwise its not working, why? please help.