feat: Improve ease of adding a new client
All checks were successful
Build Docker / Build Docker (push) Successful in 30s

This commit is contained in:
2024-06-17 17:46:03 +10:00
parent 4965bda4da
commit be587b815e
4 changed files with 178 additions and 14 deletions

View File

@@ -58,7 +58,7 @@
<a href="/"><h1>Home</h1></a>
<h2>Create OAuth Client</h2>
<h2>Create an OAuth Client</h2>
<form action="" method="post">
<label>
@@ -71,7 +71,13 @@
</label>
<label>
<span>Allowed Scope</span>
<input type="text" name="scope">
<label>
<input type="checkbox" name="scope" value="profile" checked>Profile</label>
<label>
<input type="checkbox" name="scope" value="email" checked>Email</label>
<label>
<input type="checkbox" name="scope" value="openid" checked>OpenID</label>
</label>
<label>
<span>Redirect URIs</span>
@@ -79,17 +85,17 @@
</label>
<label>
<span>Allowed Grant Types</span>
<textarea name="grant_type" cols="30" rows="10"></textarea>
<textarea name="grant_type" cols="30" rows="10">authorization_code</textarea>
</label>
<label>
<span>Allowed Response Types</span>
<textarea name="response_type" cols="30" rows="10"></textarea>
<textarea name="response_type" cols="30" rows="10">code</textarea>
</label>
<label>
<span>Token Endpoint Auth Method</span>
<select name="token_endpoint_auth_method">
<option value="client_secret_basic">client_secret_basic</option>
<option value="client_secret_post">client_secret_post</option>
<option value="client_secret_basic">client_secret_basic</option>
<option value="none">none</option>
</select>
</label>