A selector for the OAuth scope. It provides an UI to enter a scope for the OAuth 2 settings

Usage no npm install needed!

<script type="module">
  import advancedRestClientOauth2ScopeSelector from 'https://cdn.skypack.dev/@advanced-rest-client/oauth2-scope-selector';


Published on NPM

Tests and publishing


Form element that provides the UI to enter a scope for OAuth 2.0 settings.

<oauth2-scope-selector name="scope" allowedscopes='["email", "profile"]'></oauth2-scope-selector>



npm install --save @advanced-rest-client/oauth2-scope-selector

In an html file

    <script type="module">
      import '@advanced-rest-client/oauth2-scope-selector/oauth2-scope-selector.js';


git clone https://github.com/advanced-rest-client/oauth2-scope-selector
cd oauth2-scope-selector
npm install

Running the demo locally

npm start

Running the tests

npm test