mirror of
https://github.com/zitadel/zitadel.git
synced 2025-01-07 07:28:57 +00:00
fix(console): display links on the app detail from well-known/openid-connect endpoint correctly (#6469)
fix: display endpoints from wellknown correctly
This commit is contained in:
parent
bcf99e9749
commit
c8775c41e8
@ -427,20 +427,22 @@
|
||||
|
||||
<div class="app-info-row">
|
||||
<div class="app-info-wrapper" *ngFor="let wellKnownV of wellKnownMap$ | async | keyvalue">
|
||||
<p class="app-info-row-title cnsl-secondary-text">{{ wellKnownV.key }}</p>
|
||||
<div class="app-copy-row">
|
||||
<div *ngIf="wellKnownV.value" class="environment">
|
||||
<button
|
||||
[disabled]="copied === wellKnownV.value"
|
||||
[matTooltip]="(copied !== wellKnownV.value ? 'ACTIONS.COPY' : 'ACTIONS.COPIED') | translate"
|
||||
cnslCopyToClipboard
|
||||
[valueToCopy]="wellKnownV.value"
|
||||
(copiedValue)="copied = wellKnownV.key"
|
||||
>
|
||||
{{ wellKnownV.value }}
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
<ng-container *ngIf="wellKnownV.key.endsWith('endpoint')">
|
||||
<p class="app-info-row-title cnsl-secondary-text">{{ wellKnownV.key }}</p>
|
||||
<div class="app-copy-row">
|
||||
<div *ngIf="wellKnownV.value" class="environment">
|
||||
<button
|
||||
[disabled]="copied === wellKnownV.value"
|
||||
[matTooltip]="(copied !== wellKnownV.value ? 'ACTIONS.COPY' : 'ACTIONS.COPIED') | translate"
|
||||
cnslCopyToClipboard
|
||||
[valueToCopy]="wellKnownV.value"
|
||||
(copiedValue)="copied = wellKnownV.key"
|
||||
>
|
||||
{{ wellKnownV.value }}
|
||||
</button>
|
||||
</div>
|
||||
</div></ng-container
|
||||
>
|
||||
</div>
|
||||
</div>
|
||||
</cnsl-card>
|
||||
|
@ -28,7 +28,7 @@ interface WellKnown {
|
||||
})
|
||||
export class EnvironmentService {
|
||||
private environmentJsonPath = './assets/environment.json';
|
||||
private wellknownPath = '/.well-known/openid-configuration`';
|
||||
private wellknownPath = '/.well-known/openid-configuration';
|
||||
public auth!: AuthServiceClient;
|
||||
public mgmt!: ManagementServiceClient;
|
||||
public admin!: AdminServiceClient;
|
||||
|
Loading…
x
Reference in New Issue
Block a user