Remove extra condition
@@ -406,8 +406,7 @@ public class DefaultRequestCoordinator extends AbstractRequestCoordinator implem
if (responseWrapper.isRedirect()) {
String redirectURL;
- if (context != null && (context.getExternalIdP() == null ||
- FrameworkConstants.LOCAL.equals(context.getExternalIdP().getIdPName()))) {
+ if (context != null) {
redirectURL = FrameworkUtils.getRedirectURLWithFilteredParams(responseWrapper.getRedirectURL(),
context);
} else {
