mirror of
https://github.com/bitwarden/browser
synced 2025-12-26 21:23:34 +00:00
Consolidates existing SSO components into a single unified component in libs/auth, matching the new design system. This implementation: - Creates a new shared SsoComponent with extracted business logic - Adds feature flag support for unauth-ui-refresh - Updates page styling including new icons and typography - Preserves web client claimed domain logic - Maintains backwards compatibility with legacy views PM-8114 --------- Co-authored-by: Jared Snider <116684653+JaredSnider-Bitwarden@users.noreply.github.com> Co-authored-by: Jared Snider <jsnider@bitwarden.com>
23 lines
838 B
HTML
23 lines
838 B
HTML
<form [formGroup]="formGroup" [bitSubmit]="submit" class="tw-container">
|
|
<div *ngIf="loggingIn">
|
|
<i class="bwi bwi-spinner bwi-spin" title="{{ 'loading' | i18n }}" aria-hidden="true"></i>
|
|
{{ "loading" | i18n }}
|
|
</div>
|
|
<div *ngIf="!loggingIn">
|
|
<p bitTypography="body1">{{ "ssoLogInWithOrgIdentifier" | i18n }}</p>
|
|
<bit-form-field>
|
|
<bit-label>{{ "ssoIdentifier" | i18n }}</bit-label>
|
|
<input bitInput type="text" formControlName="identifier" appAutofocus />
|
|
</bit-form-field>
|
|
<hr />
|
|
<div class="tw-flex tw-gap-2">
|
|
<button type="submit" bitButton bitFormButton buttonType="primary" [block]="true">
|
|
{{ "logIn" | i18n }}
|
|
</button>
|
|
<a bitButton buttonType="secondary" routerLink="/login" [block]="true">
|
|
{{ "cancel" | i18n }}
|
|
</a>
|
|
</div>
|
|
</div>
|
|
</form>
|