From 2488875364ef64b8aabbe38eada029f4d168e016 Mon Sep 17 00:00:00 2001 From: Stygmates Date: Wed, 4 Jun 2025 13:31:54 +0200 Subject: [PATCH] feat: Display Authentication Method Name on Application Page (#9639) # Which Problems Are Solved The Authentication Method name is currently not displayed on the Application Page, this screenshot is taken from the linked issue: 417991175-a6c8497f-9c4f-4042-8ffa-c5f995ab5039 I can also add other fields if necessary, but the layout may need to be redesigned to keep a good looking UI since there are already a lot of fields. # How the Problems Are Solved Display the Authentication Method name between the `Status` and the `ID` fields from either the `oidcConfig` or the `apiConfig` objects. Here are some screenshots of the result: None: ![image](https://github.com/user-attachments/assets/776dc3db-5196-413e-bff4-38f1a149f5c5) Private JWT: ![image](https://github.com/user-attachments/assets/e9279143-1c92-4932-a271-c0865393384c) Post: ![image](https://github.com/user-attachments/assets/486ca69b-715d-4681-8b5b-5db47ff2cbf1) API Basic: ![image](https://github.com/user-attachments/assets/3ad923f1-642b-400b-a38a-818c1ce3534e) # Additional Changes None # Additional Context - Closes #9435 --------- Co-authored-by: Ramon (cherry picked from commit 6aeaa89c2564b237161fc30289dc831b0d30b0b4) --- .../modules/info-row/info-row.component.html | 111 ++++++++++-------- 1 file changed, 62 insertions(+), 49 deletions(-) diff --git a/console/src/app/modules/info-row/info-row.component.html b/console/src/app/modules/info-row/info-row.component.html index 52bd6b93ba..1acd013fbe 100644 --- a/console/src/app/modules/info-row/info-row.component.html +++ b/console/src/app/modules/info-row/info-row.component.html @@ -2,7 +2,7 @@

{{ 'USER.PAGES.STATE' | translate }}

{{ 'IAM.PAGES.STATE' | translate }}

{{ 'RESOURCEID' | translate }}

-

{{ instance.id }}

+

{{ instance.id }}

{{ 'NAME' | translate }}

-

{{ instance.name }}

+

{{ instance.name }}

{{ 'VERSION' | translate }}

-

{{ instance.version }}

+

{{ instance.version }}

@@ -96,15 +96,15 @@

{{ 'ORG.PAGES.CREATIONDATE' | translate }}

-

- {{ instance.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'ORG.PAGES.DATECHANGED' | translate }}

-

- {{ instance.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

@@ -113,7 +113,7 @@

{{ 'ORG.PAGES.STATE' | translate }}

@@ -123,7 +123,7 @@

{{ 'RESOURCEID' | translate }}

-

{{ org.id }}

+

{{ org.id }}

@@ -143,15 +143,15 @@

{{ 'ORG.PAGES.CREATIONDATE' | translate }}

-

- {{ org.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'ORG.PAGES.DATECHANGED' | translate }}

-

- {{ org.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

@@ -160,7 +160,7 @@

{{ 'PROJECT.STATE.TITLE' | translate }}

{{ 'RESOURCEID' | translate }}

-

{{ project.id }}

+

{{ project.id }}

{{ 'PROJECT.PAGES.CREATEDON' | translate }}

-

- {{ project.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'PROJECT.PAGES.LASTMODIFIED' | translate }}

-

- {{ project.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

@@ -195,7 +195,7 @@

{{ 'PROJECT.STATE.TITLE' | translate }}

{{ 'RESOURCEID' | translate }}

-

{{ grantedProject.projectId }}

+

{{ grantedProject.projectId }}

{{ 'PROJECT.GRANT.GRANTID' | translate }}

-

{{ grantedProject.grantId }}

+

{{ grantedProject.grantId }}

{{ 'PROJECT.PAGES.CREATEDON' | translate }}

-

- {{ grantedProject.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'PROJECT.PAGES.LASTMODIFIED' | translate }}

-

- {{ grantedProject.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

@@ -236,30 +236,43 @@

{{ 'APP.PAGES.STATE' | translate }}

{{ 'APP.PAGES.DETAIL.STATE.' + app.state | translate }}

+
+

{{ 'APP.AUTHMETHOD' | translate }}

+

+ {{ 'APP.API.AUTHMETHOD.' + authMethodType | translate }} +

+
+ +
+

{{ 'APP.AUTHMETHOD' | translate }}

+

+ {{ 'APP.OIDC.AUTHMETHOD.' + authMethodType | translate }} +

+

{{ 'APP.PAGES.ID' | translate }}

-

{{ app.id }}

+

{{ app.id }}

{{ 'APP.PAGES.DATECREATED' | translate }}

-

- {{ app.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'APP.PAGES.DATECHANGED' | translate }}

-

- {{ app.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

@@ -267,27 +280,27 @@

{{ 'APP.OIDC.INFO.CLIENTID' | translate }}

@@ -304,22 +317,22 @@

{{ 'IDP.DETAIL.DATECREATED' | translate }}

-

- {{ idp.details.creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ creationDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'IDP.DETAIL.DATECHANGED' | translate }}

-

- {{ idp.details.changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }} +

+ {{ changeDate | timestampToDate | localizedDate: 'dd. MMMM YYYY, HH:mm' }}

{{ 'IDP.STATE' | translate }}