github.com/hernad/nomad@v1.6.112/ui/app/templates/oidc-mock.hbs (about)

     1  {{!
     2    Copyright (c) HashiCorp, Inc.
     3    SPDX-License-Identifier: MPL-2.0
     4  ~}}
     5  
     6  {{page-title "Mock OIDC Test Page"}}
     7  
     8  <section class="mock-sso-provider">
     9    <h1>OIDC Test route: {{this.auth_method}}</h1>
    10    <h2>(Mirage only)</h2>
    11    <div class="providers">
    12      {{#each this.model as |fakeAccount|}}
    13        <button type="button" class="button" {{on "click" (fn this.signIn fakeAccount)}}>
    14          Sign In as {{fakeAccount.name}}
    15        </button>
    16      {{/each}}
    17      <button type="button" class="button error" {{on "click" this.failToSignIn}}>
    18        Simulate Failure
    19      </button>
    20    </div>
    21  </section>
    22  {{outlet}}