oauth2-scope-selector
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>
Usage
Installation
npm install --save @advanced-rest-client/oauth2-scope-selector
In an html file
<html>
<head>
<script type="module">
import '@advanced-rest-client/oauth2-scope-selector/oauth2-scope-selector.js';
</script>
</head>
<body>
<oauth2-scope-selector></oauth2-scope-selector>
</body>
</html>
Development
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