{{ define "oauthClient" }} {{ $org_id := .OrgId}} {{ template "header" .}} {{ $page := .}} {{ template "navigation" . }}
{{ if not .LastStep }} You can only connect one API to an OAuth client.

Connected API

Available APIs to connect

{{ end }}
{{ if .LastStep }}
{{ if .RequiresApproval }}

Great! We've got your request for an OAuth client.

We'll let you know via email {{ .DeveloperEmail }}, once your request has been approved. Please check your email regularly for updates.

{{ end }} {{ 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 }}
{{ if .Client.ClientSecret }} Client Secret: {{ .Client.ClientSecret }} {{ end }}

{{ end }} {{ if .Error }}

{{ .Error }}

{{ end }}
{{ else }}
{{ .Client.ClientName }}
{{ end }} {{ template "footer" .}}
{{ template "scripts" .}} {{ end }}