{{page-title (t 'actions.authenticate')}} <:header>

{{t 'actions.authenticate'}}

<:body>

{{t 'auth.descriptions.authenticating-with-org' name=@model.scope.displayName }}

{{t 'titles.global'}} {{#each this.sortedScopes as |scope|}} {{scope.displayName}} {{/each}} {{#if (feature-flag 'oidc')}} {{! OIDC enable: list all auth methods }} {{#each @model.authMethods as |authMethod|}} {{#if authMethod.name}} {{authMethod.name}} {{else}} {{t (concat 'resources.auth-method.types.' authMethod.type) }} {{/if}} {{/each}} {{else}} {{! OIDC disabled: filter out OIDC auth methods}} {{#each @model.authMethods as |authMethod|}} {{#unless authMethod.isOIDC}} {{#if authMethod.name}} {{authMethod.name}} {{else}} {{t (concat 'resources.auth-method.types.' authMethod.type) }} {{/if}} {{/unless}} {{/each}} {{/if}} {{#if @model.authMethods}} {{outlet}} {{/if}} {{#unless @model.authMethods}} {{t 'resources.auth-method.messages.none.description'}} {{/unless}}