From 117ba12eb10e7e921fb7ad8e2457b5fe9f33a84c Mon Sep 17 00:00:00 2001 From: thisarawelmilla Date: Mon, 10 Mar 2025 09:01:02 +0530 Subject: [PATCH] Remove Organization in pre-issue access token Request. --- .../PreIssueAccessTokenRequestBuilder.java | 25 ------------------- 1 file changed, 25 deletions(-) diff --git a/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/action/execution/PreIssueAccessTokenRequestBuilder.java b/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/action/execution/PreIssueAccessTokenRequestBuilder.java index 74147676d9..9a8f927fae 100755 --- a/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/action/execution/PreIssueAccessTokenRequestBuilder.java +++ b/components/org.wso2.carbon.identity.oauth/src/main/java/org/wso2/carbon/identity/oauth/action/execution/PreIssueAccessTokenRequestBuilder.java @@ -29,7 +29,6 @@ import org.wso2.carbon.identity.action.execution.api.model.Event; import org.wso2.carbon.identity.action.execution.api.model.FlowContext; import org.wso2.carbon.identity.action.execution.api.model.Operation; -import org.wso2.carbon.identity.action.execution.api.model.Organization; import org.wso2.carbon.identity.action.execution.api.model.Request; import org.wso2.carbon.identity.action.execution.api.model.Tenant; import org.wso2.carbon.identity.action.execution.api.model.User; @@ -45,7 +44,6 @@ import org.wso2.carbon.identity.oauth.common.exception.InvalidOAuthClientException; import org.wso2.carbon.identity.oauth.config.OAuthServerConfiguration; import org.wso2.carbon.identity.oauth.dao.OAuthAppDO; -import org.wso2.carbon.identity.oauth.internal.OAuthComponentServiceHolder; import org.wso2.carbon.identity.oauth2.IdentityOAuth2Exception; import org.wso2.carbon.identity.oauth2.dto.OAuth2AccessTokenReqDTO; import org.wso2.carbon.identity.oauth2.model.HttpRequestHeader; @@ -56,7 +54,6 @@ import org.wso2.carbon.identity.openidconnect.CustomClaimsCallbackHandler; import org.wso2.carbon.identity.openidconnect.OIDCClaimUtil; import org.wso2.carbon.identity.openidconnect.util.ClaimHandlerUtil; -import org.wso2.carbon.identity.organization.management.service.exception.OrganizationManagementException; import java.util.ArrayList; import java.util.Arrays; @@ -112,8 +109,6 @@ private Event getEvent(OAuthTokenReqMessageContext tokenMessageContext, Map