I’m trying to connect HubSpot with WSO2 Identity Server for single sign-on but running into issues. After setting everything up according to the official guide, I get a 405 Method Not Allowed error when trying to reach the user portal at https://localhost:9443/user-portal/.
The error suggests that the HTTP method I’m using isn’t supported by that endpoint. Has anyone else run into this problem? I’m wondering if there’s a different way to set up HubSpot SSO or if there’s a simple fix for this 405 error.
Also having trouble finding the required SSO configuration details in WSO2. HubSpot needs the Identity Provider Identifier, Single Sign-On URL, and X.509 Certificate but I can’t locate these values in the WSO2 interface after completing the setup steps.
Any help or guidance would be great. Thanks!
In addressing the 405 error, verify that the endpoint you’re trying to access is indeed correct and that your HTTP method is supported for that request. Regarding the SSO configuration, you can find the necessary details by navigating to Main > Identity > Service Providers in the WSO2 dashboard. Your Identity Provider Identifier is your server URL, the Single Sign-On URL typically follows the pattern https://localhost:9443/samlsso, and for the X.509 Certificate, check the keystore management section. Ensure your assertion consumer URL is precisely what HubSpot requires, as even slight discrepancies can lead to errors.
u might be hitting the wrong endpoint. just try going directly to the user portal url in your browser and skip any sso redirects to see if it loads. that 405 error usually means hubspot’s sending a POST but WSO2 wants GET or vice versa. check your hubspot sso settings!
The 405 error usually happens when your SAML binding settings don’t match between HubSpot and WSO2. I ran into this exact problem last year - HubSpot defaults to HTTP-POST binding but WSO2 might be set to HTTP-Redirect. Go check your service provider config in WSO2 and make sure you’ve got the right binding type selected in the SAML2 Web SSO settings. For those missing config values, they’re buried under Main > Identity > Service Providers > [Your SP Name] > Inbound Authentication Configuration > SAML2 Web SSO Configuration. Your issuer value becomes the Identity Provider Identifier. Also double-check that your WSO2 version actually supports whatever SAML profile HubSpot needs - older versions had some compatibility problems.
This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.