feat(console): Github Enterprise Server (#5410)

github enterprise server console template
This commit is contained in:
Max Peintner
2023-03-13 18:59:11 +01:00
committed by GitHub
parent c0843e6b4c
commit 77595cd723
20 changed files with 687 additions and 3 deletions
@@ -59,6 +59,11 @@
<mat-icon class="idp-icon" svgIcon="mdi_jwt" alt="jwt" />
Generic JWT
</div>
<div class="idp-table-provider-type" *ngSwitchCase="ProviderType.PROVIDER_TYPE_GITHUB_ES">
<img class="idp-logo dark" src="../../../assets/images/idp/github-dark.svg" alt="github" />
<img class="idp-logo light" src="../../../assets/images/idp/github.svg" alt="github" />
GitHub Enterprise Server
</div>
<div class="idp-table-provider-type" *ngSwitchDefault>coming soon</div>
</div>
</td>
@@ -228,6 +228,8 @@ export class IdpTableComponent implements OnInit {
switch (row.type) {
case ProviderType.PROVIDER_TYPE_OIDC:
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'oidc', row.id];
case ProviderType.PROVIDER_TYPE_GITHUB_ES:
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'github-es', row.id];
case ProviderType.PROVIDER_TYPE_OAUTH:
return [row.owner === IDPOwnerType.IDP_OWNER_TYPE_SYSTEM ? '/instance' : '/org', 'provider', 'oauth', row.id];
case ProviderType.PROVIDER_TYPE_JWT: