Skip to main content

 

 

Coupa Success Portal

How to select/check all OAuth client scopes at a time

Introduction

This page shows steps on how to check all the OAuth client scope checkboxes at a time.

Steps:

JavaScript Code:

(function() {
    var aa= document.getElementsByTagName("input");
    for (var i =0; i < aa.length; i++){
        if (aa[i].type == 'checkbox')
            aa[i].checked = true;
    }
})()

How to Execute?

Step 1: Right Click on your web page https://<<CUSTOMER>>.coupahost.com/oauth2/clients/new, then click on Inspect or Press F12.

Step1.png

Step 2: Select Console from the menu bar.

Step2.png

Step 3: Copy above-provided javascript code snippets and paste into the console as shown below and then hit enter.

Step3.png

Hope all the checkboxes related to the OAuth client are now selected.

 

 

 

 

  • Was this article helpful?