Fix for the JWKS URL not updating in Service Provider issue
@@ -46,7 +46,6 @@ import org.wso2.carbon.identity.application.common.model.xsd.RequestPathAuthenti
import org.wso2.carbon.identity.application.common.model.xsd.RoleMapping;
import org.wso2.carbon.identity.application.common.model.xsd.ServiceProvider;
import org.wso2.carbon.identity.application.common.model.xsd.ServiceProviderProperty;
-import org.wso2.carbon.identity.application.common.util.IdentityApplicationConstants;
import org.wso2.carbon.identity.application.mgt.ui.util.ApplicationMgtUIConstants;
import org.wso2.carbon.identity.base.IdentityConstants;
@@ -1138,7 +1137,7 @@ public class ApplicationBean {
serviceProvider.setDescription(request.getParameter("sp-description"));
serviceProvider.setCertificateContent(request.getParameter("sp-certificate"));
- String jwks = request.getParameter(IdentityApplicationConstants.JWKS_URI_SP_PROPERTY_NAME);
+ String jwks = request.getParameter("jwksUri");
serviceProvider.setJwksUri(jwks);
if (Boolean.parseBoolean(request.getParameter("deletePublicCert"))) {
