2019-03-13 02:28:12 -04:00
|
|
|
<div *ngIf="!hasOpenId" class="reauth-container">
|
|
|
|
<button type="button" (click)="onReauthStart()" class="btn btn-primary" [disabled]="busy">
|
2020-10-23 07:30:20 -04:00
|
|
|
{{'Click to start OpenID auth' | translate}}
|
2019-03-13 02:28:12 -04:00
|
|
|
</button>
|
|
|
|
</div>
|
|
|
|
<div *ngIf="hasOpenId" class="reauth-container">
|
2020-10-23 07:30:20 -04:00
|
|
|
<p>{{'User ID:' | translate}} {{userId}}</p>
|
2019-03-13 02:28:12 -04:00
|
|
|
</div>
|
|
|
|
<div class="reauth-container">
|
|
|
|
<p>{{stateMessage}}</p>
|
2020-10-23 07:30:20 -04:00
|
|
|
<p *ngIf="blocked">{{'You have blocked this widget from receiving credentials.' | translate}}</p>
|
|
|
|
<p *ngIf="error">{{'An error has occurred - see logs for details' | translate}}</p>
|
2019-03-13 02:28:12 -04:00
|
|
|
<small>Widget ID: {{widgetId}}</small>
|
2020-10-23 07:30:20 -04:00
|
|
|
</div>
|