Skip to content

Commit 604f1af

Browse files
Fixing frontchannel logout in SPA app template (#9590)
* Fixing frontchannel logout in SPA app template * Add changeset 🦋 * Bump console --------- Co-authored-by: Pavindu Lakshan <[email protected]> Co-authored-by: Pavindu Lakshan <[email protected]>
1 parent 04378c7 commit 604f1af

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

.changeset/breezy-plums-call.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"@wso2is/admin.applications.v1": patch
3+
"@wso2is/console": patch
4+
---
5+
6+
Fix OIDC Frontchannel logout update bug in SPA template

features/admin.applications.v1/components/forms/inbound-oidc-form.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1702,6 +1702,11 @@ export const InboundOIDCForm: FunctionComponent<InboundOIDCFormPropsInterface> =
17021702
audience: audienceUrls !== "" ? audienceUrls.split(",") : [],
17031703
expiryInSeconds: Number(values.get("idExpiryInSeconds"))
17041704
},
1705+
logout: {
1706+
frontChannelLogoutUrl: isFrontChannelLogoutEnabled
1707+
? values.get("frontChannelLogoutUrl")
1708+
: initialValues?.logout?.frontChannelLogoutUrl
1709+
},
17051710
publicClient: true,
17061711
refreshToken: {
17071712
expiryInSeconds: values.get("expiryInSeconds")

0 commit comments

Comments
 (0)