mirror of
https://github.com/zitadel/zitadel.git
synced 2025-05-22 07:48:20 +00:00

* device auth: implement the write events * add grant type device code * fix(init): check if default value implements stringer --------- Co-authored-by: adlerhurst <silvan.reusser@gmail.com>
19 lines
635 B
HTML
19 lines
635 B
HTML
{{template "main-top" .}}
|
|
|
|
<h1>{{.Title}}</h1>
|
|
<p>
|
|
{{.Username}}, {{t "DeviceAuth.Action.GrantDevice"}} {{.ClientID}} {{t "DeviceAuth.Action.AccessToScopes"}}: {{.Scopes}}.
|
|
</p>
|
|
<form method="POST">
|
|
{{ .CSRF }}
|
|
<input type="hidden" name="authRequestID" value="{{.AuthRequestID}}">
|
|
<button class="lgn-raised-button lgn-primary left" type="submit" formaction="./allowed">
|
|
{{t "DeviceAuth.Action.Button.Allow"}}
|
|
</button>
|
|
<button class="lgn-raised-button lgn-warn right" type="submit" formaction="./denied">
|
|
{{t "DeviceAuth.Action.Button.Deny"}}
|
|
</button>
|
|
</form>
|
|
|
|
{{template "main-bottom" .}}
|