mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-15 10:25:11 +00:00
feat(saml): implementation of saml for ZITADEL v2 (#3618)
This commit is contained in:
+11
-4
@@ -17,20 +17,27 @@
|
||||
*ngFor="let app of appsSubject | async"
|
||||
matTooltip="{{ 'ACTIONS.EDIT' | translate }}"
|
||||
>
|
||||
<cnsl-app-card class="grid-card" matRipple [type]="app.oidcConfig?.appType" [isApiApp]="app.apiConfig !== undefined">
|
||||
<cnsl-app-card
|
||||
class="grid-card"
|
||||
matRipple
|
||||
[type]="app.samlConfig ? 'SAML' : app.oidcConfig?.appType"
|
||||
[isApiApp]="app.apiConfig !== undefined"
|
||||
>
|
||||
{{ app.name.charAt(0) }}
|
||||
<ng-container *ngIf="app.oidcConfig?.appType !== undefined">
|
||||
<i *ngIf="app.oidcConfig?.appType === OIDCAppType.OIDC_APP_TYPE_NATIVE" class="las la-mobile"></i>
|
||||
<i *ngIf="app.oidcConfig?.appType === OIDCAppType.OIDC_APP_TYPE_WEB" class="las la-code"></i>
|
||||
<i *ngIf="app.oidcConfig?.appType === OIDCAppType.OIDC_APP_TYPE_USER_AGENT" class="las la-code"></i>
|
||||
<i *ngIf="app.oidcConfig?.appType === OIDCAppType.OIDC_APP_TYPE_NATIVE" class="lab la-openid"></i>
|
||||
<i *ngIf="app.oidcConfig?.appType === OIDCAppType.OIDC_APP_TYPE_WEB" class="lab la-openid"></i>
|
||||
<i *ngIf="app.oidcConfig?.appType === OIDCAppType.OIDC_APP_TYPE_USER_AGENT" class="lab la-openid"></i>
|
||||
<i *ngIf="app.apiConfig" class="las la-robot"></i>
|
||||
</ng-container>
|
||||
<span *ngIf="app.samlConfig" class="samlspan">SAML</span>
|
||||
</cnsl-app-card>
|
||||
<span class="name">{{ app.name }}</span>
|
||||
<span *ngIf="app.oidcConfig?.appType !== undefined && app.oidcConfig?.appType !== null" class="type">
|
||||
{{ 'APP.OIDC.APPTYPE.' + app.oidcConfig?.appType | translate }}</span
|
||||
>
|
||||
<span *ngIf="app.apiConfig !== undefined" class="type"> API</span>
|
||||
<span *ngIf="app.samlConfig !== undefined" class="type"> SAML</span>
|
||||
</div>
|
||||
|
||||
<ng-template cnslHasRole [hasRole]="['project.app.write']">
|
||||
|
||||
+11
@@ -49,6 +49,17 @@
|
||||
border-radius: 0.5rem;
|
||||
font-weight: 800;
|
||||
box-sizing: border-box;
|
||||
|
||||
i {
|
||||
font-size: 1.2rem;
|
||||
}
|
||||
|
||||
.samlspan {
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
letter-spacing: 0.05em;
|
||||
line-height: 1.2rem;
|
||||
}
|
||||
}
|
||||
|
||||
.name {
|
||||
|
||||
Reference in New Issue
Block a user