From c2b6d2b7ed9297ba5e247e26598c18d0af246643 Mon Sep 17 00:00:00 2001 From: AJ ONeal Date: Tue, 1 Aug 2017 18:26:08 +0000 Subject: [PATCH] use proper scope names --- js/issuer.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/js/issuer.js b/js/issuer.js index 08c630b..438b163 100644 --- a/js/issuer.js +++ b/js/issuer.js @@ -106,6 +106,7 @@ $(function () { var callbackUrl; // TODO put in directives.json or similar var grantDescriptions = { + // deprecated 'oauth3_authn': "Basic secure authentication" , 'wallet': "Access to payments and subscriptions" , 'bucket': "Access to file storage" @@ -114,6 +115,17 @@ $(function () { , 'domains:glue': "Glue Record management (for vanity nameservers)" , 'domains:ns': "Name Server management" , 'dns': "DNS records (A/AAAA, TXT, SRV, MX, etc)" + + // new + , 'hello@example.com': "Hello World Example Access" + , 'authn@oauth3.org': "Basic secure authentication" + , 'wallet@oauth3.org': "Access to payments and subscriptions" + , 'bucket@oauth3.org': "Access to file storage" + , 'db@oauth3.org': "Access to app data" + , 'domains@oauth3.org': "Domain registration (and Glue and NS records)" // TODO make an alias + , 'domains:glue@oauth3.org': "Glue Record management (for vanity nameservers)" + , 'domains:ns@oauth3.org': "Name Server management" + , 'dns@oauth3.org': "DNS records (A/AAAA, TXT, SRV, MX, etc)" , '*': "FULL ACCOUNT ACCESS" };