Describe the bug
OAuth2 proxy set up and using Okta OIDC as provider. Grafana is also using the same application in Okta for authentication. Oauth2 does not work for authentication.
To Reproduce
Steps to reproduce the behavior:
Deploy Grafana and Loki through helm charts
Deploy Oauth2 proxy and configure to use Okta OIDC
Deploy an Ingress through Loki helm chart and connect to OAuth2 via annotations in the ingress (auth-url & auth-siginin)
Expected behavior
When connecting to the Loki datasource via Grafana provide the ingress and set authentication as forward Oauth
Environment:
Infrastructure: Kubernetes
Deployment tool: helm
I have got this working with basic Oauth through Nginx but have not been able to get it working with Oauth2 and have not found anything on the internet supporting that anyone has completed this before.
Below is the configuration of the Loki ingress in the helm chart -
When trying to connect to the datasource via Grafana using the Ingress created and authentication set to forward Oauth Grafana pods throw an error - 503 Loki service unavailable
Describe the bug OAuth2 proxy set up and using Okta OIDC as provider. Grafana is also using the same application in Okta for authentication. Oauth2 does not work for authentication.
To Reproduce Steps to reproduce the behavior:
Expected behavior
When connecting to the Loki datasource via Grafana provide the ingress and set authentication as forward Oauth
Environment:
I have got this working with basic Oauth through Nginx but have not been able to get it working with Oauth2 and have not found anything on the internet supporting that anyone has completed this before. Below is the configuration of the Loki ingress in the helm chart -
Below is the configuration of the OAuth2 helm chart and the secret has the client_id, secret and cookie
When trying to connect to the datasource via Grafana using the Ingress created and authentication set to forward Oauth Grafana pods throw an error - 503 Loki service unavailable
I can supply additional configuration if needed