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

Revised: 18 August 2022


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


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>>, then click on Inspect or Press F12.


Step 2: Select Console from the menu bar.


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


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