buzzfeed / sso

sso, aka S.S.Octopus, aka octoboi, is a single sign-on solution for securing internal services
MIT License
3.07k stars 187 forks source link

Upgrading to latest build - provider.url expecting a map - still documented as a string - unsure what env to set #308

Closed ned-kelly closed 3 years ago

ned-kelly commented 3 years ago

So I've upgraded to the latest build from master and when running within docker i'm seeing the following error:

{"error":"1 error(s) decoding:\n\n* 'provider.url' expected a map, got 'string'","level":"error","msg":"error loading in config from env vars","service":"sso-proxy","time":"2021-06-07 13:03:12.398"}

also

{"error":"2 error(s) decoding:\n\n* 'client[id]' expected a map, got 'string'\n* 'client[secret]' expected a map, got 'string'","level":"error","msg":"error loading in config from env vars","service":"sso-authenticator","time":"2021-06-07 13:24:58.016"}

Your example docker compose file still lists this config as a string - Do you have an example of how to specify this new config as an environment variable within the Docker compose file? -- https://github.com/buzzfeed/sso/blob/main/quickstart/docker-compose.yml#L38-L40

ned-kelly commented 3 years ago

Turns out documentation is not yet updated - see here for anyone that comes across this issue: https://github.com/buzzfeed/sso/releases/tag/v2.0.0