GitLab oauth requires Google settings
I set up gitlab oauth this way:
- name: TOKEN_SECRET
value: "MY_GENERATED_TOKEN"
- name: GENERIC_NAME
value: "gitlab"
- name: GENERIC_CLIENT_ID
value: "MY_GITLAB_CLIENT_ID"
- name: GENERIC_CLIENT_SECRET
value: "MY_GITLAB_CLIENT_SECRET"
- name: GENERIC_AUTH_URL
value: "https://gitlab.FOOBAR.com/oauth/authorize"
- name: GENERIC_TOKEN_URL
value: "https://gitlab.FOOBAR.com/oauth/token"
- name: GENERIC_SCOPES
value: "api,openid,read_user"
- name: PUBLIC_URL
value: "https://chronograf.FOOBAR.com"
- name: GENERIC_API_URL
value: "https://gitlab.FOOBAR.com/api/v3/user"
when container started i see error in logs:
time="2020-06-01T14:41:01Z" level=error msg="Failed to validate Oauth settings: missing Google oauth setting[s]: client id, client secret" basepath=invalid component=server
If i add this two envs (GOOGLE_CLIENT_ID and GOOGLE_CLIENT_SECRET) with fake values, then chronograf started successfully and i see login screen with two buttons - google and gitlab
@tuchinsky i believe this is related to a bug in chronograf 1.8.4 (https://github.com/influxdata/chronograf/pull/5475). We are planning a 1.8.5 the second week of July which should address this.
@russorat Any ETA on the 1.8.5 docker image release so far? I'm in need of this bug fix as I'm facing the same problem.
It was released last week. are you still seeing this issue?
I saw that chronograf 1.8.5 was released but the docker image appears to not be updated yet.
@gilliu00 thanks. i'm trying to track down why the docker images stopped updating. stay tuned.
@russorat Did you end up finding the issue?