How to integrate the Google authentication plugin
In the Aiven Client, connect to your [service][Install and configure the Aiven client].
Switch to the project that contains the Grafana service you want to integrate:
bashavn switch <PROJECT>List the services in the project. Make a note of the Grafana service that you want to integrate, listed under
SERVICE_NAMEcolumn in the output.bashavn service listGet the details of the service that you want to integrate:
bashavn service get <SERVICE_NAME>Integrate the plugin with your services using the
<CLIENT_ID>and<CLIENT_SECRET>from your Google developer console:bashavn service update -c auth_google.allowed_domains=<G-SUITE_DOMAIN>\ -c auth_google.client_id=<CLIENT_ID>\ -c auth_google.client_secret=<CLIENT_SECRET><SERVICE_NAME>Log in to Grafana with your service credentials.
Navigate to
Configuration→Pluginsand verify that the Google OAuth application is listed as a plugin.
When you allow sign-ups using the -c auth_google.allow_sign_up=true option, by default each new user is created with viewer permissions and added to their own newly created organizations. To specify different permissions, use -c user_auto_assign_org_role=ROLE_NAME. To add all new users to the main organization, use the -c user_auto_assign_org=true option.
Integrating the GitHub authentication plugin
To integrate GitHub authentication with Grafana service on Managed Service for TimescaleDB, you need to create your [GitHub OAuth application][github-oauth-keys]. Store your client ID and client secret in a secure location.