Auth tech debt
Created by: beyang
When set, the organizations
field will require authenticating users be a member of one of the specified organizations.
This will enable us to turn on GitHub authentication on dogfood.
This can be reviewed commit by commit. The commit that actually implements the behavior is in the last commit. The previous ones are refactorings that were necessary to make the change possible.
Auth refactorings / tech debt:
- remove
cmd/frontend/external/auth
- use auth-provider-specific
sessionIssuerHelper