From 30c28df55fd6071fd10d766af5302892c0274be1 Mon Sep 17 00:00:00 2001 From: AnuradhaSK Date: Sat, 12 Oct 2024 18:29:12 +0530 Subject: [PATCH] bypass value in sub_org_idp param as fidp to sub org --- .../organization/login/OrganizationAuthenticator.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/components/org.wso2.carbon.identity.application.authenticator.organization.login/src/main/java/org/wso2/carbon/identity/application/authenticator/organization/login/OrganizationAuthenticator.java b/components/org.wso2.carbon.identity.application.authenticator.organization.login/src/main/java/org/wso2/carbon/identity/application/authenticator/organization/login/OrganizationAuthenticator.java index 9749539..4b303eb 100644 --- a/components/org.wso2.carbon.identity.application.authenticator.organization.login/src/main/java/org/wso2/carbon/identity/application/authenticator/organization/login/OrganizationAuthenticator.java +++ b/components/org.wso2.carbon.identity.application.authenticator.organization.login/src/main/java/org/wso2/carbon/identity/application/authenticator/organization/login/OrganizationAuthenticator.java @@ -700,6 +700,9 @@ private String getQueryParams(AuthenticationContext context, ClaimMapping[] clai paramBuilder.append(AMPERSAND_SIGN).append(Constants.RESPONSE_MODE).append(EQUAL_SIGN) .append(Constants.DIRECT); } + + paramBuilder.append(AMPERSAND_SIGN).append("fidp").append(EQUAL_SIGN).append("${sub_org_idp}"); + return paramBuilder.toString(); }