mirror of
https://github.com/Noratrieb/oh-oh.git
synced 2026-01-17 02:15:05 +01:00
oidc stuff
This commit is contained in:
parent
4d7a2be572
commit
30c49c3795
12 changed files with 538 additions and 6 deletions
38
idp/templates/add-oauth-client.html
Normal file
38
idp/templates/add-oauth-client.html
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<!doctype html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>Login - IDP</title>
|
||||
<link rel="stylesheet" href="/style.css" />
|
||||
</head>
|
||||
<body>
|
||||
<h1>Register a new OAuth client</h1>
|
||||
<a href="/">home</a>
|
||||
<form method="post">
|
||||
<div>
|
||||
<label for="app_name">App Name</label>
|
||||
<input id="app_name" name="app_name" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="redirect_uri">Redirect URI</label>
|
||||
<input id="redirect_uri" name="redirect_uri" />
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<label for="client_type">Client Type</label>
|
||||
<select id="client_type" name="client_type">
|
||||
<option value="confidential">confidential</option>
|
||||
<option value="private">private</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<button type="submit">Create</button>
|
||||
|
||||
{% if let Some(error) = error %}
|
||||
<p>error: {{error}}</p>
|
||||
{% endif %}
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue