about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-06-04 12:21:06 -0500
committerFrederick Muriuki Muriithi2024-06-04 12:21:06 -0500
commitd8326fa4b80b16b809c0099ac7330452e93dda54 (patch)
treebfe7fc50120fdfb523d1ca483454d80d8f188a75
parentb94ace284ed8b6bda9619a105ea8b34ca80b58b5 (diff)
downloadgn-auth-d8326fa4b80b16b809c0099ac7330452e93dda54.tar.gz
auth: scope: Remove confusing UI elements
-rw-r--r--gn_auth/templates/oauth2/authorise-user.html16
1 files changed, 0 insertions, 16 deletions
diff --git a/gn_auth/templates/oauth2/authorise-user.html b/gn_auth/templates/oauth2/authorise-user.html
index c3842bf..deac40a 100644
--- a/gn_auth/templates/oauth2/authorise-user.html
+++ b/gn_auth/templates/oauth2/authorise-user.html
@@ -16,22 +16,6 @@
   <input type="hidden" name="redirect_uri" value="{{redirect_uri}}" />
   <input type="hidden" name="scope" value="{{scope | join(' ')}}" />
   <input type="hidden" name="client_id" value="{{client.client_id}}" />
-  <p>
-    You are authorising "{{client.client_metadata.client_name}}" to access
-    Genenetwork 3 with the following scope:
-  </p>
-  <fieldset>
-    <legend>Scope</legend>
-    {%for scp in scope%}
-    <div class="checkbox disabled">
-      <label for="scope:{{scp}}">
-	<input id="scope:{{scp}}" type="checkbox" name="scope[]" value="{{scp}}"
-	       checked="checked" disabled="disabled" />
-	{{scp}}
-      </label>
-    </div>
-    {%endfor%}
-  </fieldset>
 
   <fieldset>
     <legend>User Credentials</legend>