Skip to content

Commit

Permalink
MOSIP-27327
Browse files Browse the repository at this point in the history
  • Loading branch information
Sohandey committed Aug 7, 2023
1 parent c0786b9 commit b5fb91c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -250,10 +250,17 @@ public String getAuthForzoneMap() {
public String getAuthForPartner() {

JSONObject request=new JSONObject();

request.put(GlobalConstants.APPID, ConfigManager.getPmsAppId());
request.put(GlobalConstants.PASSWORD, partner_password);
request.put(GlobalConstants.USER_NAME, BaseTestCase.currentModule +"-"+partner_userName);
JSONObject actualInternalrequest = getRequestJson(authInternalRequest);
if (BaseTestCase.isTargetEnvLTS()) {
request.put(GlobalConstants.CLIENTID, ConfigManager.getPmsClientId());
}
else {
request.put(GlobalConstants.CLIENTID, ConfigManager.getPartnerClientId());
}
request.put(GlobalConstants.CLIENTID, ConfigManager.getPmsClientId());
request.put(GlobalConstants.CLIENTSECRET, ConfigManager.getPmsClientSecret());
actualInternalrequest.put(GlobalConstants.REQUEST, request);
Expand Down

0 comments on commit b5fb91c

Please sign in to comment.