Search Results :

×

HubSpot OAuth Single Sign-On (SSO) | HubSpot SSO

HubSpot OAuth Single Sign-On (SSO) | HubSpot SSO


HubSpot Single Sign-On (SSO) plugin for WordPress enables users to securely log into WordPress with a single set of credentials stored on HubSpot.

The WordPress SSO plugin uses the OAuth and OpenID Connect (OIDC) standards, which provide features like attribute mapping that accurately replicates and synchronizes user details like first name, last name, email address, etc. You can also add role mapping which syncs varying permission levels for content restriction. Groups of users from a particular company can access micro-sites (one or a group of several pages). It also allows session sharing if multiple providers are used for Single Sign-On.

Other HubSpot Integrations

WordPress HubSpot SSO integration allows you to sync your WordPress SSO / Registered users into HubSpot as a contact. Also, it provides functionality to track your user activities in HubSpot.

HubSpot Single Sign-On works the other way too, where users are stored on WordPress and users wish to SSO into HubSpot. To try out please check our HubSpot Single Sign-on (SSO) Solution.

Pre-requisites : Download And Installation


  • Log into your WordPress instance as an admin.
  • Go to the WordPress Dashboard -> Plugins and click on Add New.
  • Search for a WordPress OAuth Single Sign-On (SSO) plugin and click on Install Now.
  • Once installed click on Activate.

Steps to configure Hubspot Single Sign-On (SSO) Login into WordPress

1. Setup Hubspot as OAuth Provider

  • First of all, go to https://app.hubspot.com/login and sign up/login.
  • Hubspot Single Sign-On (SSO) OAuth - Login Page
  • After login go to Apps tab.
  • Hubspot Single Sign-On (SSO) OAuth - goto apps tab
  • Click on Create app to create your app.
  • Hubspot Single Sign-On (SSO) OAuth - Create app
  • Enter all the required details and switch to Auth tab.
  • Hubspot Single Sign-On (SSO) OAuth - Add required details
  • Enter the Redirect/Callback URL which you will get from the OAuth Single Sign-On (SSO) plugin under the Redirect / Callback URL section. Then, click on Create app button.
  • Hubspot Single Sign-On (SSO) OAuth - Add redirect url
  • Now scroll down to Scope section and select the scope as crm.objects.owners.read. click on Save Changes button.
  • Hubspot Single Sign-On (SSO) OAuth - add scope
  • Copy the Client ID & Client Secret and keep it handy as we will require it while configuring OAuth Single Sign-On plugin.
  • Hubspot Single Sign-On (SSO) OAuth - Get client secret

You have successfully configured Hubspot as OAuth Provider for achieving Hubspot Single Sign-On (SSO) with WordPress for user authentication.

2. Setup WordPress as OAuth Client


  • Go to Configure OAuth tab and click Add New Application to add a new client application into your website.
  • Hubspot Single Sign-On (SSO) OAuth - Add new application
  • Choose your Application from the list of OAuth / OpenID Connect Providers, Here HubSpot.
  • Hubspot Single Sign-On (SSO) OAuth - Select Application
  • After selecting the provider copy the Callback URL which needs to be configured in OAuth Provider's SSO application Configuration.
  • Enter the Client Credentials like Client ID & Client Secret which you will get from the HubSpot SSO application.
  • Please refer the below table for configuring the scope & endpoints for HubSpot in the plugin.
  • Scope crm.objects.owners.read,oauth
    Authorization Endpoint https://app.hubspot.com/oauth/authorize
    Access Token Endpoint https://api.hubapi.com/oauth/v1/token
    Get User Info Endpoint: https://api.hubapi.com/crm/v3/owners/?limit=100
  • Click on Next.
  • Hubspot Single Sign-On (SSO) OAuth - Add App name, TenantID
  • After verifying all the details on the summary page, click on Finish to save the configuration as well as test the SSO connection.
  • Hubspot Single Sign-On (SSO) OAuth - Client ID & Client Secret

You have successfully configured WordPress as OAuth Client for achieving user authentication with Hubspot Single Sign-On (SSO) login into your WordPress Site.


3. User Attribute Mapping

  • User Attribute Mapping is mandatory for enabling users to successfully Single Sign-On into WordPress using Hubspot SSO. We will be setting up user profile attributes for WordPress using the below settings.
  • Finding user attributes

    • Go to Configure OAuth tab. Scroll down and click on Test Configuration.
    • Hubspot Single Sign-On (SSO) - test configuration
    • You will see all the values returned by your OAuth Provider to WordPress in a table. If you don't see value for First Name, Last Name, Email or Username, make the required settings in your OAuth Provider to return this information.
    • Once you see all the values in Test Configuration, go to Attribute / Role Mapping tab, select attributes from Username dropdown and click on Save.
    • Hubspot Single Sign-On (SSO) - attribute/role mapping

    4. Sign In Settings

    • The settings in Single Sign-On (SSO) Settings tab define the user experience for Single Sign-On (SSO). To add a Hubspot login widget on your WordPress page, you need to follow the below steps.
      • Go to WordPress Left Panel > Appearances > Widgets.
      • Select miniOrange OAuth. Drag and drop to your favourite location and save.
      • Hubspot Single Sign-on (SSO) - WordPress create-newclient login button setting
      • Go to WordPress Left Panel > Appearances > Widgets.
      • Select miniOrange OAuth. Drag and drop to your favourite location and save.
      • Hubspot Single Sign-on (SSO) - WordPress create-newclient login button setting
      • Open your WordPress page and you can see the Hubspot SSO login button there. You can test the Hubspot Single Sign-On (SSO) now.
      • Make sure the "Show on login page" option is enabled for your application. (Refer to the below image)
      • Hubspot Single Sign-on (SSO) - WordPress create-newclient login button setting
      • Now, go to your WordPress Login page. (Eg. https://< your-wordpress-domain >/wp-login.php)
      • You will see an Hubspot SSO login button there. Once you click the login button, you will be able to test the Hubspot Single Sign-On (SSO).
      • Hubspot Single Sign-on (SSO) - WordPress create-newclient login button setting

    In this Guide, you have successfully configured Hubspot Single Sign-On (SSO) by configuring Hubspot as OAuth Provider and WordPress as OAuth Client using our WP OAuth Single Sign-On ( OAuth / OpenID Connect Client ) plugin.This solution ensures that you are ready to roll out secure access to your WordPress site using Hubspot login credentials within minutes.

    Additional Resources


    Mail us on oauthsupport@xecurify.com for quick guidance(via email/meeting) on your requirement and our team will help you to select the best suitable solution/plan as per your requirement.

Hello there!

Need Help? We are right here!

support
Contact miniOrange Support
success

Thanks for your inquiry.

If you dont hear from us within 24 hours, please feel free to send a follow up email to info@xecurify.com