-
Notifications
You must be signed in to change notification settings - Fork 58
/
Copy pathlogin-or-register-oidc.hbs
34 lines (30 loc) · 1.28 KB
/
login-or-register-oidc.hbs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{{page-title (t "pages.login-or-register-oidc.title")}}
<PixBackgroundHeader>
<PixBlock @shadow="light" class="login-or-register-oidc-form">
<a href={{this.showcase.url}} class="login-or-register-oidc-form__logo">
<img src="/images/pix-logo.svg" alt="{{this.showcase.linkText}}" />
</a>
{{#if this.showOidcReconciliation}}
<Authentication::OidcReconciliation
@identityProviderSlug={{this.identityProviderSlug}}
@authenticationKey={{this.authenticationKey}}
@email={{this.email}}
@username={{this.username}}
@fullNameFromPix={{this.fullNameFromPix}}
@fullNameFromExternalIdentityProvider={{this.fullNameFromExternalIdentityProvider}}
@authenticationMethods={{this.authenticationMethods}}
@toggleOidcReconciliation={{this.toggleOidcReconciliation}}
/>
{{else}}
<Authentication::LoginOrRegisterOidc
@identityProviderSlug={{this.identityProviderSlug}}
@authenticationKey={{this.authenticationKey}}
@userClaims={{this.userClaims}}
@onLogin={{this.onLogin}}
/>
{{/if}}
</PixBlock>
{{#if this.isInternationalDomain}}
<LanguageSwitcher @selectedLanguage={{this.selectedLanguage}} @onLanguageChange={{this.onLanguageChange}} />
{{/if}}
</PixBackgroundHeader>