Saviynt unveils its cutting-edge Intelligence Suite products to revolutionize Identity Security!
Click HERE to see how Saviynt Intelligence is transforming the industry.
Saviynt Copilot Icon

Add users to OKTA groups

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 2 2020 at 14:23 UTC

I'm having issues getting users added to Okta Groups. The account in Okta is shown added to the group, but when checking in Okta the user is not actually in the group.

We are using the following ADDAccessJSON:


{

"call": [

{

"name": "Group",

"connection": "acctAuth",

"url": "https://caseys.oktapreview.com/api/v1/groups/${entitlementValue.entitlementID}/users/${account.accou...",

"httpMethod": "PUT",

"httpHeaders": {

"Authorization": "${access_token}",

"Accept": "application/json"

},

"httpContentType": "application/json",

"successResponses": {

"statusCode": [

200

],

"status": "ACTIVE"

}

},

{

"name": "Application",

"connection": "acctAuth",

"url": "https://caseys.oktapreview.com/api/v1/apps/${entitlementValue.entitlementID}/users",

"httpMethod": "POST",

"httpParams": " {\"id\": \"${account.accountID}\",\"scope\": \"USER\",\"credentials\": {\"userName\": \"${account.name}\"}}",

"httpHeaders": {

"Authorization": "${access_token}",

"Accept": "application/json"

},

"httpContentType": "application/json",

"successResponses": {

"statusCode": [

200

],

"status": "ACTIVE"

}

}

]

}

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.
2 REPLIES 2

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 2 2020 at 23:58 UTC

Hello Adam,


Please use below JSON and also attaching Okta document link to Latest OKTA JSON


{
"call": [
{
"name": "OktaGroup",
"connection": "acctAuth",
"url": "https://<domain-name>/api/v1/groups/${entitlementValue.entitlementID}/users/${account.accountID}",
"httpMethod": "PUT",
"httpHeaders": {
"Authorization": "${access_token}",
"Accept": "application/json"
},
"httpContentType": "application/json",
"successResponses": {
"statusCode": [
200,201,204
],
"status": "ACTIVE"
}
}
]
}



https://saviyntars.atlassian.net/wiki/spaces/SSMR5/pages/548241955/OKTA+Connector

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.

Community_User
Saviynt Employee
Saviynt Employee
Originally posted on March 4 2020 at 18:57 UTC

The updated code on the documentation page works. Thanks for updating it.

This message was previously posted on Saviynt's legacy forum by a community user and has been moved over to this forum for continued exposure.