Cluster-service log snip:
{"level":"error","ts":1657846380.9499252,"logger":"gitops","caller":"middleware/middleware.go:39","msg":"server error","error":"could not exchange code: code=400, error=invalid_grant, description=The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}
{"level":"info","ts":1657846380.9502516,"logger":"gitops","caller":"middleware/middleware.go:65","msg":"server error","uri":"/v1/applications/auth_providers/gitlab/authorize","status":500}
The nightly tests using Gitlab SAAS git provider fail due to
Error completing OAuth2.0 flow
.https://github.com/weaveworks/weave-gitops-enterprise/runs/7350314934?check_suite_focus=true
The cause and solution similar to this sort of error discussed in this post: https://support.hashicorp.com/hc/en-us/articles/1500001457201-Gitlab-The-provided-authorization-grant-is-invalid-expired-revoked-does-not-match-the-redirection-URI-used-in-the-authorization-request-or-was-issued-to-another-client-
https://app.zenhub.com/files/397340252/2f689a4b-4c20-4d87-a255-1ec9f2396c5f/download