Sign out from login modal will block you from re-signing it again. (It appears that you can't have t

With oAuth, You are prevented from logging into Hubspot if you sign out of the login modal, but then try to go through. the authentication flow a second time.

Hi @EMans

Emails are treated as sensitive engagement types requiring sales-email-read, although I totally agree with you that it should be optional. You can get more details and also you can raise an idea for the same, it will be benificial for many App creator.

I hope this will help you out. Please mark it as Solution Accepted and upvote to help another Community member.

Thanks!

Im sorry, I dont understand “Emails are treated as sensitive engagement types” wrt the oAuth modal issue we are facing.

Hi @EMans

I said emails are treated as sensitive because Emails contain private or personal data, often involving customers’ personal details, also email engagement data is protected by HubSpot.

What does this have to do with the faith modal not working on a second attempt?

Hi @EMans

In the OAuth flow, HubSpot sets a session cookie to track the authentication state. When a user signs out from the login modal, that session isn’t always fully cleared. So, if the user tries the authentication flow again immediately, HubSpot may detect a stale or partial session, causing the login process to fail or get stuck — potentially due to cached credentials (sometimes even email-related cookies).
As a workaround, you can:
1. Use redirect-based login (redirecting the user to the HubSpot auth page in the current tab) instead of a pop-up/modal.
2. Refresh the page when the modal is closed to reset the app’s state and any lingering cookies.
3. If the issue still persists, it’s best to contact HubSpot Support for a deeper investigation, as they can provide more insight into session handling on their side.

Thanks!

Looks like we finally got there @EMans After a bit of a random start, the last reply form @GRajput is accurate for likely causes and some good next steps. — Jaycee