Oauth2 with keycloak issue

Hello @mefraimsson,

can you please help on this, I am trying using keycloak authentication with grafana through Oauth2 , grafana redirects to keycloak login page. when user get authenticated and it redirects to grafana, it prompts the error that is:

html/template: "error" is undefined

my grafana Oauth configuration is:

Thanks in advance.

Please ask someone that has experience of using keycloak, for example TLS skip verify for generic OAuth

Thanks, Its resovled. email scope wasn’t added on auth provider and grafana needs email to create session.

hey @asadfareed
can u help me with steps to how to integrate grafana with keycloak anfd what all changes to be made config . i have to setup both application on k8