{{#if showRedirectUri}}
{{api.redirectUri}}
{{/if}}
{{combo-box
value=api.authType
content=authorizationTypes
onChange=(action (mut api.authType))
options=(hash
none='admin.wizard.api.auth.type_none'
)}}
{{#if isOauth}}
{{#if threeLeggedOauth}}
{{input value=api.authUrl}}
{{/if}}
{{input value=api.tokenUrl}}
{{input value=api.clientId}}
{{input value=api.clientSecret}}
{{#each api.authParams as |param|}}
{{input value=param.key placeholder=(i18n 'admin.wizard.key')}}
{{input value=param.value placeholder=(i18n 'admin.wizard.value')}}
{{d-button action=(action "removeParam") actionParam=param icon='times'}}
{{/each}}
{{d-button label='admin.wizard.api.auth.params.new' icon='plus' action=(action "addParam")}}
{{/if}}
{{#if isBasicAuth}}
{{input value=api.username}}
{{input value=api.password}}
{{/if}}