aboutsummaryrefslogtreecommitdiff
path: root/gn_auth/templates/admin/list-oauth2-clients.html
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2024-10-03 11:37:49 -0500
committerFrederick Muriuki Muriithi2024-10-03 11:37:49 -0500
commit45f2eaa9d2965c79d77c898aab3a01a1f06e4149 (patch)
tree5b5945e81091c68d9f861c71ac8af3da8a05b4e3 /gn_auth/templates/admin/list-oauth2-clients.html
parentb9de9e436dd4f84174f6fc1b707e1b303a94fcf4 (diff)
downloadgn-auth-45f2eaa9d2965c79d77c898aab3a01a1f06e4149.tar.gz
Provide a way to change OAuth2 client secrets.
Diffstat (limited to 'gn_auth/templates/admin/list-oauth2-clients.html')
-rw-r--r--gn_auth/templates/admin/list-oauth2-clients.html10
1 files changed, 9 insertions, 1 deletions
diff --git a/gn_auth/templates/admin/list-oauth2-clients.html b/gn_auth/templates/admin/list-oauth2-clients.html
index ca0ee6d..6da5b2f 100644
--- a/gn_auth/templates/admin/list-oauth2-clients.html
+++ b/gn_auth/templates/admin/list-oauth2-clients.html
@@ -15,7 +15,7 @@
<th>Client Name</th>
<th>Default Redirect URI</th>
<th>Owner</th>
- <th colspan="2">Actions</th>
+ <th colspan="3">Actions</th>
</tr>
</thead>
@@ -43,6 +43,14 @@
class="btn btn-danger" />
</form>
</td>
+ <td>
+ <a href="{{url_for('oauth2.admin.change_client_secret',
+ client_id=client.client_id)}}"
+ title="Change the client secret!"
+ class="btn btn-danger">
+ Change Secret
+ </a>
+ </td>
</tr>
{%else%}
<tr>