Default Organization Redirect Issue on Login

Hi everyone,

I have multiple organizations in Grafana (orgId=1, orgId=2, etc.). When users log in at https://grafana.test.com, they are always redirected to https://grafana.test.com/?orgId=1, even if they belong to another organization.

If a user from orgId=2 logs in, they get a “Not Found” error unless they manually switch to orgId=2 in the URL. How can i find solution to this ? I just want that no more this orgId=1 is after the url. I have tried a lot of things like url name in grafana.ini. Nothing works!!

Thank you in purpose!