Authentication and onboarding troubleshooting
Use this page when sign-in, sign-out, invite, or company setup behaves unexpectedly.
Redirect URI errors
If the hosted identity provider reports an invalid redirect URI, check that the provider application includes the exact production callback URL:
https://portal.haqerp.com/auth/callback
The homepage should be:
https://portal.haqerp.com/
The initiate login URL should be:
https://portal.haqerp.com/auth/login
Too many redirects
Too many redirects usually means the session cookie and tenant state disagree. Sign out, clear the portal.haqerp.com site cookies if needed, then sign in again after the latest deployment is live.
Invite links
Invite links are for the invited email and selected tenant. If the email already exists in another client tenant, HAQ ERP rejects the join to preserve the one-email-one-tenant policy.
Failed company setup
Use the setup progress screen first. If setup fails after tenant creation, a platform administrator should review the failed onboarding check before retrying or cleaning up.