|
|
@ -13,12 +13,14 @@ |
|
|
(keydown.enter)="onLoginWithAccessToken(); $event.preventDefault()" |
|
|
(keydown.enter)="onLoginWithAccessToken(); $event.preventDefault()" |
|
|
/> |
|
|
/> |
|
|
<button |
|
|
<button |
|
|
mat-button |
|
|
class="mx-2" |
|
|
|
|
|
mat-icon-button |
|
|
matSuffix |
|
|
matSuffix |
|
|
type="button" |
|
|
type="button" |
|
|
(click)="isAccessTokenHidden = !isAccessTokenHidden" |
|
|
(click)="isAccessTokenHidden = !isAccessTokenHidden" |
|
|
> |
|
|
> |
|
|
<ion-icon |
|
|
<ion-icon |
|
|
|
|
|
class="mat-icon" |
|
|
[name]="isAccessTokenHidden ? 'eye-outline' : 'eye-off-outline'" |
|
|
[name]="isAccessTokenHidden ? 'eye-outline' : 'eye-off-outline'" |
|
|
/> |
|
|
/> |
|
|
</button> |
|
|
</button> |
|
|
@ -34,7 +36,7 @@ |
|
|
@if (data.hasPermissionToUseAuthGoogle) { |
|
|
@if (data.hasPermissionToUseAuthGoogle) { |
|
|
<div class="d-flex flex-column"> |
|
|
<div class="d-flex flex-column"> |
|
|
<a |
|
|
<a |
|
|
class="px-4 rounded-pill" |
|
|
class="px-4 py-3 rounded-pill" |
|
|
href="../api/v1/auth/google" |
|
|
href="../api/v1/auth/google" |
|
|
mat-stroked-button |
|
|
mat-stroked-button |
|
|
><img |
|
|
><img |
|
|
@ -49,7 +51,7 @@ |
|
|
@if (data.hasPermissionToUseAuthOidc) { |
|
|
@if (data.hasPermissionToUseAuthOidc) { |
|
|
<div class="d-flex flex-column mt-2"> |
|
|
<div class="d-flex flex-column mt-2"> |
|
|
<a |
|
|
<a |
|
|
class="px-4 rounded-pill" |
|
|
class="px-4 py-3 rounded-pill" |
|
|
href="../api/auth/oidc" |
|
|
href="../api/auth/oidc" |
|
|
mat-stroked-button |
|
|
mat-stroked-button |
|
|
><ng-container i18n>Sign in with OpenID Connect</ng-container></a |
|
|
><ng-container i18n>Sign in with OpenID Connect</ng-container></a |
|
|
|