Open danielhochman opened 4 years ago
@danielhochman - I would love to take a stab at implementing this! Also, great blog post announcement today btw!
@gramidt thanks so much for the kind words.
the team here is ready to provide contributor support wherever it's needed. keep the feedback coming as you onboard and we'll be sure to address it with additional docs if necessary.
the first step in implementing github auth will be adding a github object to the type oneof in the authn service config here: https://github.com/lyft/clutch/blob/6c516269614e0300a230d3b5f88b4e14e3f1c058/api/config/service/authn/v1/authn.proto#L21-L23
Awesome! Thank you for pointing me in the right direction to kick this feature off.
Description
The oauth2 flow is already implemented, will just need some tweaks to support GitHub as the current authn implementation is only set-up for OIDC flows (e.g. Okta).
InfluxDB's Chronograf backend has a great example of handling GitHub and other forms of login generically that should be adaptable to Clutch's components. https://github.com/influxdata/influxdb/blob/master/chronograf/oauth2/github.go
Complexity [S/M/L]: M