Google OAuth2 Authentication
First, you need to create a Google OAuth Client:
- Go to .
- Enter the following:
- Application Type: Web Application
- Name: Grafana
- Authorized Redirect URLs: https://grafana.mycompany.com/login/google
- Replace with the URL of your Grafana instance.
- Click Create
Enable Google OAuth in Grafana
You may have to set the option of [server]
for the callback URL to be correct. For example in case you are serving Grafana behind a proxy.
You may allow users to sign-up via Google authentication by setting the allow_sign_up
option to . When this option is set to true
, any user successfully authenticating via Google authentication will be automatically signed up.