shwstppr commented on code in PR #7996:
URL: https://github.com/apache/cloudstack/pull/7996#discussion_r1340969237


##########
ui/src/utils/plugins.js:
##########
@@ -514,3 +514,20 @@ export function createPathBasedOnVmType (vmtype, 
virtualmachineid) {
 
   return path + virtualmachineid
 }
+
+export function loadGoogleOAuthClientId () {
+  return api('listOauthProvider', {}).then(response => {
+    let googleClientId = ''
+    if (response) {
+      console.log(response)
+      const oauthproviders = response.listoauthproviderresponse.oauthprovider 
|| []
+      oauthproviders.forEach(item => {
+        if (item.provider === 'google') {
+          googleClientId = item.clientid
+        }
+      })
+      console.log(googleClientId)

Review Comment:
   logging here and above can be removed



-- 
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: commits-unsubscr...@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to