From cd16f99aa23123f2398e3a3a542d84363d7a7b16 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Fri, 30 Jun 2023 09:19:39 +0300 Subject: List all OAuth2 clients. --- gn3/templates/admin/dashboard.html | 4 +++ gn3/templates/admin/list-oauth2-clients.html | 45 ++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 gn3/templates/admin/list-oauth2-clients.html (limited to 'gn3/templates') diff --git a/gn3/templates/admin/dashboard.html b/gn3/templates/admin/dashboard.html index 889e652..52fb7d3 100644 --- a/gn3/templates/admin/dashboard.html +++ b/gn3/templates/admin/dashboard.html @@ -12,6 +12,10 @@ Register OAuth2 Client +
  • + List OAuth2 Client +
  • Logout diff --git a/gn3/templates/admin/list-oauth2-clients.html b/gn3/templates/admin/list-oauth2-clients.html new file mode 100644 index 0000000..f6bbcb2 --- /dev/null +++ b/gn3/templates/admin/list-oauth2-clients.html @@ -0,0 +1,45 @@ +{%extends "base.html"%} + +{%block title%}Genenetwork3: OAuth2 Clients{%endblock%} + +{%block content%} +{{flash_messages()}} + +

    Genenetwork3: OAuth2 Clients

    + + + List of registered OAuth2 clients + + + + + + + + + + + + {%for client in clients%} + + + + + + + + {%else%} + + + + {%endfor%} + +
    Client IDClient NameDefault Redirect URIOwnerActions
    {{client.client_id}}{{client.client_metadata.client_name}}{{client.client_metadata.default_redirect_uri}}{{client.user.name}} ({{client.user.email}}) + + View/Edit + +
    + No registered OAuth2 clients! +
    +{%endblock%} -- cgit v1.2.3