owl-blogs/embed/auth.html

24 lines
921 B
HTML
Raw Normal View History

2022-11-07 19:35:05 +00:00
<h3>Authorization for {{.ClientId}}</h3>
2022-11-04 20:53:14 +00:00
2022-11-07 19:35:05 +00:00
<h5>Requesting scope:</h5>
2022-11-07 19:24:21 +00:00
<ul>
2022-11-07 19:35:05 +00:00
{{range $index, $element := .Scopes}}
<li>{{$element}}</li>
2022-11-07 19:24:21 +00:00
{{end}}
</ul>
2022-11-07 19:35:05 +00:00
<br><br>
2022-11-05 19:24:28 +00:00
<form action="verify/" method="post">
2022-11-03 20:22:55 +00:00
<label for="password">Password</label>
<input type="password" name="password" placeholder="Password">
2022-11-04 20:53:14 +00:00
<input type="hidden" name="client_id" value="{{.ClientId}}">
<input type="hidden" name="redirect_uri" value="{{.RedirectUri}}">
<input type="hidden" name="response_type" value="{{.ResponseType}}">
<input type="hidden" name="state" value="{{.State}}">
2022-11-05 20:17:31 +00:00
<input type="hidden" name="csrf_token" value="{{.CsrfToken}}">
2022-11-06 15:27:35 +00:00
<input type="hidden" name="code_challenge" value="{{.CodeChallenge}}">
<input type="hidden" name="code_challenge_method" value="{{.CodeChallengeMethod}}">
<input type="hidden" name="scope" value="{{.Scope}}">
2022-11-03 20:22:55 +00:00
<input type="submit" value="Login">
</form>