github.com/anth0d/nomad@v0.0.0-20221214183521-ae3a0a2cad06/ui/app/templates/oidc-mock.hbs (about)

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