Unverified Commit 11fdf9bc authored by sknirmalkar89's avatar sknirmalkar89 Committed by GitHub
Browse files

SB-28404:[SSO > Global consent]issue:update consumer_id,object_id with root org id (#1042)

Showing with 2 additions and 2 deletions
+2 -2
...@@ -182,8 +182,8 @@ public class TenantMigrationActor extends BaseActor { ...@@ -182,8 +182,8 @@ public class TenantMigrationActor extends BaseActor {
// Revoke org consent // Revoke org consent
Map<String, Object> consentReqMap = new HashMap<>(); Map<String, Object> consentReqMap = new HashMap<>();
consentReqMap.put(JsonKey.USER_ID, (String) request.getRequest().get(JsonKey.USER_ID)); consentReqMap.put(JsonKey.USER_ID, (String) request.getRequest().get(JsonKey.USER_ID));
consentReqMap.put(JsonKey.CONSENT_CONSUMERID, orgId); consentReqMap.put(JsonKey.CONSENT_CONSUMERID, request.getRequest().get(JsonKey.ROOT_ORG_ID));
consentReqMap.put(JsonKey.CONSENT_OBJECTID, orgId); consentReqMap.put(JsonKey.CONSENT_OBJECTID, request.getRequest().get(JsonKey.ROOT_ORG_ID));
consentReqMap.put(JsonKey.CONSENT_OBJECTTYPE, JsonKey.CONSENT_OBJECTTYPE_ORG); consentReqMap.put(JsonKey.CONSENT_OBJECTTYPE, JsonKey.CONSENT_OBJECTTYPE_ORG);
consentReqMap.put(JsonKey.STATUS, JsonKey.CONSENT_STATUS_REVOKED); consentReqMap.put(JsonKey.STATUS, JsonKey.CONSENT_STATUS_REVOKED);
Response consentRes = Response consentRes =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment