Fix github_upstream_watcher so GitHub is listed in Supervisor idp discovery doc

This commit is contained in:
Benjamin A. Petersen
2024-04-11 13:19:24 -04:00
parent 8de4524428
commit 79d0e74056
5 changed files with 17 additions and 7 deletions

View File

@@ -304,7 +304,7 @@ func flowOptions(
}
switch requestedIDPType {
// TODO(BEN): previously i had put a panic("GitHub NOPE") here. Now its time to work out the details of doing an actual GitHub Login....
// TODO: Decide if we can bundle GitHub here long term or if it needs its own case
case idpdiscoveryv1alpha1.IDPTypeOIDC, idpdiscoveryv1alpha1.IDPTypeGitHub:
switch requestedFlow {
case idpdiscoveryv1alpha1.IDPFlowCLIPassword: