Beorne
Beorne

Reputation: 211

Is it possible to make Grafana login by default to a specific organization and not to the anonymous one?

I’m using Grafana 8.5.10 on Windows. I have two configured organizations:

But when I access Grafana directly from a web browser (ip_address:3000) it defaults do the orgId=2 organization which is not meant to be normally accessed by users. I'd like it to access to the login page of orgId=1.

Is there some way to default the base access to Grafana to a specific organization (orgId=1)?

Or, as an alternative approach, is it possible to remove anonymous login and embed in the panel direct link in the summary web page some authentication token / information?

Thanks.

Upvotes: 0

Views: 1085

Answers (1)

tanmay_bhat
tanmay_bhat

Reputation: 151

You can now use auto_assign_org_id: 1 in your grafana config to assign org 1 when users are created and set their default org.

Ref : https://grafana.com/docs/grafana/latest/setup-grafana/configure-grafana/#auto_assign_org_id

Upvotes: 0

Related Questions