Lindenii Project Forge
Login

server

Vireo IdP server

Warning: Due to various recent migrations, viewing non-HEAD refs may be broken.

/template/authorize.html (raw)

{{ template "head.html" .Base }}

<main class="narrow">

<h1>{{ .ServerName }}</h1>

<p>
	Authorize
	{{ if .Client.ClientURI }}
		<a href="{{ .Client.ClientURI }}" target="_blank">
	{{ end }}
	{{- if .Client.ClientName -}}
		{{- .Client.ClientName -}}
	{{- else -}}
		<code>{{- .Client.ClientID -}}</code>
	{{- end -}}
	{{- if .Client.ClientURI -}}
		</a>
	{{- end -}}
	?
</p>

<form method="post" action="">
	<input type="hidden" name="_csrf" value="{{ .Base.CSRFToken }}">
	<button type="submit" name="authorize">Authorize</button>
	<button type="submit" name="deny">Cancel</button>
</form>

</main>

{{ template "foot.html" }}