sureshanaparti commented on code in PR #12689:
URL: https://github.com/apache/cloudstack/pull/12689#discussion_r2841007274


##########
plugins/user-authenticators/oauth2/src/main/java/org/apache/cloudstack/oauth2/api/command/OauthLoginAPIAuthenticatorCmd.java:
##########
@@ -177,6 +177,10 @@ private String doOauthAuthentication(HttpSession session, 
Long domainId, String
 
     protected Long getDomainIdFromParams(Map<String, Object[]> params, 
StringBuilder auditTrailSb, String responseType) {
         String[] domainIdArr = (String[])params.get(ApiConstants.DOMAIN_ID);
+        if (domainIdArr == null) {
+            // Fallback to support clients using the camelCase parameter name 
"domainId"
+            domainIdArr = (String[])params.get(ApiConstants.DOMAIN__ID);
+        }

Review Comment:
   done



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to