File tree Expand file tree Collapse file tree 2 files changed +12
-2
lines changed
features/admin.applications.v1/components/forms Expand file tree Collapse file tree 2 files changed +12
-2
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @wso2is/admin.applications.v1 " : patch
3+ " @wso2is/console " : patch
4+ ---
5+
6+ Hide "Logout URL" heading when no logout fields are rendered
Original file line number Diff line number Diff line change @@ -3946,7 +3946,9 @@ export const InboundOIDCForm: FunctionComponent<InboundOIDCFormPropsInterface> =
39463946 { /* Logout */ }
39473947 {
39483948 ! isSubOrganization ( )
3949- && ( isBackChannelLogoutEnabled || isFrontChannelLogoutEnabled )
3949+ && ( ( isBackChannelLogoutEnabled && ! isSPAApplication )
3950+ || ( isFrontChannelLogoutEnabled && ! isMobileApplication
3951+ && ! isMcpClientApplication && ! isM2MApplication ) )
39503952 && ! isSystemApplication
39513953 && ! isDefaultApplication
39523954 && (
@@ -3958,7 +3960,9 @@ export const InboundOIDCForm: FunctionComponent<InboundOIDCFormPropsInterface> =
39583960 < Grid . Column mobile = { 16 } tablet = { 16 } computer = { 16 } >
39593961 < Heading as = "h4" >
39603962 {
3961- ( isBackChannelLogoutEnabled && isFrontChannelLogoutEnabled )
3963+ ( ( isBackChannelLogoutEnabled && ! isSPAApplication )
3964+ && ( isFrontChannelLogoutEnabled && ! isMobileApplication
3965+ && ! isMcpClientApplication && ! isM2MApplication ) )
39623966 ? t ( "applications:forms.inboundOIDC.sections" +
39633967 ".logoutURLs.heading" )
39643968 : t ( "applications:forms.inboundOIDC.sections" +
You can’t perform that action at this time.
0 commit comments