Getting automatically logged out when signing in with company Google account

I’m having an issue when signing in with my company’s Google account. Every time I log in successfully, I get automatically logged out and redirected back to the login page after a few seconds or when I refresh the page.

Here’s what I’ve tried so far:

  • Cleared browser cookies and cache.

  • Tried different browsers (Chrome, Edge).

  • Still facing the same issue.

Interestingly, when I use my personal Google account, the login works perfectly fine.

Is there any restriction or compatibility issue with Google Workspace (company-managed) accounts? Or does Cursor require specific authentication permissions for enterprise domains?