{{/* OAuth authorize page (API and MCP clients): sign in and approve in one step. Same styling and strict CSP as the login page: no inline scripts or styles. */}}

OpenRun

Sign in

{{ .Data.ClientName }} wants access to {{ .Data.Resource }}.

{{ if .Data.CIMDClient }}
Client
{{ .Data.ClientId }}
{{ end }}
Returns to
{{ .Data.RedirectUri }}
{{ if .Data.DynamicClient }}

Unverified client: the name is self-reported, check the return address.

{{ else if .Data.LoopbackOnly }}

Unverified local client: approve only if you started this sign-in.

{{ end }} {{ if .Data.Error }} {{ end }} {{ range .Data.Federated }}
{{ range $k, $v := $.Data.Params }}{{ end }}
{{ end }} {{ if .Data.PasswordLogin }}
{{ range $k, $v := .Data.Params }}{{ end }}
{{ end }} {{ if and (not .Data.PasswordLogin) (not .Data.Federated) (not .Data.Error) }} {{ end }}