summaryrefslogtreecommitdiff
path: root/bin/idp
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2025-03-20 09:13:08 -0600
committermo khan <mo@mokhan.ca>2025-03-20 09:13:08 -0600
commit4d0c6c388269d52eb20b5fc420965d124c38aa4b (patch)
tree05f50c6b1496e90716228648fb1db2efceb7f33f /bin/idp
parent136c4dfb645aff8a97e3c26fcc5b91ff9e32b3e7 (diff)
feat: add html pages to ui service that fetches data from rest api
Diffstat (limited to 'bin/idp')
-rwxr-xr-xbin/idp2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/idp b/bin/idp
index 18e117b..86dcb3b 100755
--- a/bin/idp
+++ b/bin/idp
@@ -328,6 +328,7 @@ module Authz
condition(:owner) { true }
rule { owner }.enable :read_project
+ rule { owner }.enable :read_group
rule { owner }.enable :create_project
end
@@ -566,6 +567,7 @@ module Authz
<head><title></title></head>
<body>
<h2>Authorize?</h2>
+ <p>Client ID: <%= oauth_params['client_id'] %></p>
<form id="authorize-form" action="/oauth/authorize" method="post">
<input type="hidden" name="client_id" value="<%= oauth_params['client_id'] %>" />
<input type="hidden" name="scope" value="<%= oauth_params['scope'] %>" />