HubSpot SSO and forcing sign on again

mikedrizzo1
Contributor
We're connecting to HubSpot from our custom APP and there seems to be no way to force our user to log in again using SSO/credentials.
 
My problem that occurred recently was with my user (@gmail user) in our app being able to access HubSpot in my saved login credentials of "@companyco.co".
 
When I use our feature "connect to HubSpot" with our app - it didn't try to log me in as the user I was using within the app "@gmail" instead it just used the persistent login credentials of my other user. Obviously, I was in the same browser, so...
 
Is there a way to force our users connecting from our App to log in to HubSpot again and (ideally) select the correct login credentials they need to use to log in? 
2 Replies 2
himanshurauthan
Key Advisor | Platinum Partner

Hi @mikedrizzo1,

 

In this case, HubSpot validates based on the login, so if you're not logged in, it asks for the same, and if you are then it completes the flow with the logged-in details. there is no validation for the third-party user email and HubSpot email.

 

There is no logout API, that you can use to solve this issue. not a recommended approach, but you might try re-authentication and clearing the access token if your new log in or log out from your app.

 

Regards,

Digital Marketing & Inbound Expert In Growth Hacking Technology
mikedrizzo1
Contributor

Thanks, Himanshu.

We can only clear tokens/cookies/sessions from our app and not from HubSpot itself. The lingering account is in HubSpot and not in our app.

0 Upvotes