Skip to content

Commit

Permalink
Merge pull request #5818 from JeethJJ/master
Browse files Browse the repository at this point in the history
Introduce configurations to alter visibility of app configs
  • Loading branch information
JeethJJ committed Mar 22, 2024
2 parents 8f58aa1 + 1170176 commit 91095b9
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/twelve-plums-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@wso2is/console": patch
---

Introduce configurations to alter visibility of app configs
2 changes: 2 additions & 0 deletions apps/console/src/extensions/configs/application.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -620,7 +620,9 @@ export const applicationConfig: ApplicationConfig = {
showClientSecretMessage: false,
showFrontChannelLogout: false,
showIdTokenEncryption: true,
showIdTokenResponseSigningAlgorithm: true,
showNativeClientSecretMessage: false,
showRequestObjectConfigurations: true,
showRequestObjectSignatureValidation: false,
showReturnAuthenticatedIdPList: false,
showScopeValidators: false
Expand Down
2 changes: 2 additions & 0 deletions apps/console/src/extensions/configs/models/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,9 @@ export interface ApplicationConfig {
showScopeValidators: boolean;
showNativeClientSecretMessage: boolean;
showIdTokenEncryption: boolean;
showIdTokenResponseSigningAlgorithm: boolean;
showBackChannelLogout: boolean;
showRequestObjectConfigurations: boolean;
showRequestObjectSignatureValidation: boolean;
showCertificates: boolean;
showReturnAuthenticatedIdPList: boolean;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2046,6 +2046,7 @@ export const InboundOIDCForm: FunctionComponent<InboundOIDCFormPropsInterface> =
|| ApplicationTemplateIdTypes.OIDC_WEB_APPLICATION === template?.templateId)
&& !isSystemApplication
&& !isDefaultApplication
&& applicationConfig?.inboundOIDCForm?.showRequestObjectConfigurations
&& (
<>
<Grid.Row columns={ 2 }>
Expand Down Expand Up @@ -2902,6 +2903,7 @@ export const InboundOIDCForm: FunctionComponent<InboundOIDCFormPropsInterface> =
{ ApplicationTemplateNames.STANDARD_BASED_APPLICATION === template?.name
&& !isSystemApplication
&& !isDefaultApplication
&& applicationConfig?.inboundOIDCForm?.showIdTokenResponseSigningAlgorithm
&& (
<Grid.Row columns={ 1 }>
<Grid.Column mobile={ 16 } tablet={ 16 } computer={ 16 }>
Expand Down

0 comments on commit 91095b9

Please sign in to comment.