{{ define "generateOauthClient" }} {{ template "header" .}} {{ $page := .}}
{{ if .Error }}
{{ .Error }}
{{ else}}
{{ if .Client }}

Great! You've successfully created an OAuth client.

Make sure to save the Client Secret somewhere safe, as you won't be able to access it after leaving this screen.

Client ID: {{ .Client.ClientID }}
Client Secret: {{ .Client.ClientSecret }}

Back to Oauth Clients list
{{ end }}
{{ end }}
{{ template "navigation" . }} {{ template "footer" .}} {{ template "scripts" .}} {{ end }}