Hello,
I am trying to setup concourse ci to authenticate via oauth2 and gitea.
I am working off of:
https://docs.gitea.io/en-us/development/oauth2-provider/ and
Generic oAuth - Concourse CI
I am close, but now getting from concourse:
Failed to authenticate: OAuth connector: failed to get token: oauth2: cannot fetch token: 400 Bad Request Response: {“error”:“unauthorized_client”,“error_description”:“client is not authorized”}
I double checked the client secret and that looks ok.
Started up devoloper tools in chrome. Got this information:
Internal Server Error
Failed to return user’s identity.
Headers:
- Request Method:
GET - Status Code:
500 Internal Server Error - Remote Address:
10.10.10.10:8081 - Referrer Policy:
no-referrer-when-downgrade
I wonder if I have this part wrong:
CONCOURSE_OAUTH_USERINFO_URL=http://10.10.10.20:3000/api/v1/users/
Its not real clear to me what needs to go there. Any thoughts on how best to proceed?
Thank you.