From 2aa7abf383df814f24c88beea733c324cda682d0 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 29 May 2023 14:56:24 +0300 Subject: auth: Enable registration of OAuth2 clients Add UI and code to enable the administrative user to register new OAuth2 clients that can access the API server. --- gn3/templates/admin/register-client.html | 78 ++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 gn3/templates/admin/register-client.html (limited to 'gn3/templates/admin/register-client.html') diff --git a/gn3/templates/admin/register-client.html b/gn3/templates/admin/register-client.html new file mode 100644 index 0000000..3058aee --- /dev/null +++ b/gn3/templates/admin/register-client.html @@ -0,0 +1,78 @@ +{%extends "base.html"%} + +{%block title%}Genenetwork3: Register OAuth2 Client{%endblock%} + +{%block content%} +{{flash_messages()}} + +

Genenetwork3: Register OAuth2 Client

+ +
+ +
+ Select client scope + + {%for scp in scope%} + +
+ {%endfor%} + +
+ +
+ Basic OAuth2 client information + + + + +

+ + + +

+ + +
+ +

+
+ Supported grant types + + +

+ + + +
+
+ +
+ User information + +

The user to register this client for

+ +
+ + +
+{%endblock%} -- cgit 1.4.1