Can auth.anonymous work together with auth.gengeric_oauth?

Hi all,

Here is my use case:

  1. setup auth.anonymous for anonymous user, they can just view the dashboards in Main Org.
  2. setup auth.generic_oauth for SSO reason, for these users, they have admin permission in their own org.

Here is my grafana.ini file:

enabled = true

auto_assign_org = false
default_theme = light

logs = /var/log/grafana

enabled = true
name = keycloak
allow_sign_up = true
client_id = grafana
client_secret = uuidxxx
auth_url =
token_url =
api_url =

Here is my issue: just works fine. not work, cuz it redict to uri:, the login form showed up, so I cant just watch dashboard as anonymous user withou login.

So, is there possible that auth.anonymous work together with other kind of oauth? Or did I miss anything? Let me know if you have any suggestions. Thanks a lot.