Did someone configure and used Oauth2 on prometheus config in order to integrate SSO with keycloak?
prometheus.yml
oauth2:
client_id: "dsdsf-sdfssd-vfdsd-23sdfs"
client_secret: "sl;k96,;di0l;skdf;'lsgjs;';fks"
scopes : "https://keycloak/oauth2/authorize"
auth_url : "https://keycloak/oauth2/authorize"
token_url : "https://keycloak/oauth2/token"
api_url : "https://keycloak/oauth2/userinfo"
I tried to add these lines on my prometheus.yml but the when I restarted the prometheus service, I have INVALIDARGUMENT on the config.
Regards,