solution for the logout issue in grafana OAuth using keycloak2 min read
hi all, this document deals with the solution for the logout issue in grafana OAuth using keycloak.
Grafana is one of the best analytics and visualizer tool which can be customized based on requirements. Grafana supports various data sources such as MySQL, cloud watch, influx dB, etc.
This tutorial shows how to fix the logout issue in grafana OAuth using keycloak.
When grafana is authenticated with OAuth using keycloak when the application logouts user are redirected to the login screen. But if the user clicks on the login with OAuth user is gets logged in without entering a password.
This is due to the user session is not logout from the keycloak.
If you don’t know how to setup grafana OAuth using keycloak. check this link.
add the below configuration in the apache grafana virtual host file.
Final apache configuration with reverse proxy using apache as given below.
This configuration change in apache logouts user from keycloak.