improvement: oauth "scopes" improvements (#6037)

* improvement: oauth "scopes" init parameter

* improvement: add "select all" and "select none" to oauth scopes popup
This commit is contained in:
Matthew Morrissette
2020-06-10 11:27:54 -07:00
committed by GitHub
parent 4497387d62
commit 275c8f2ccf
9 changed files with 62 additions and 4 deletions

View File

@@ -70,6 +70,18 @@ module.exports = {
authorizationUrl: {
selector: ".auth-container code"
},
readPetsScope: {
selector: "input[data-value='read:pets']"
},
writePetsScope: {
selector: "input[data-value='write:pets']"
},
selectAllScopes: {
selector: ".auth-container h2 a[data-all]"
},
selectNoneScopes: {
selector: ".auth-container h2 a:not([data-all])"
},
flow: {
selector: ".flow code"
},