remove not used oidc --hosted-domains flag
@@ -25,7 +25,6 @@ type OIDCFlags struct {
Scopes []string `long:"scope" description:"Any additional scopes of [openid] that need to be requested during authorization. Default to [openid, profile, email]."`
GroupsKey string `long:"groups-key" default:"groups" description:"The groups key indicates which claim to use to map external groups to Concourse teams."`
UserNameKey string `long:"user-name-key" default:"username" description:"The user name key indicates which claim to use to map an external user name to a Concourse user name."`
- HostedDomains []string `long:"hosted-domains" description:"List of whitelisted domains when using Google, only users from a listed domain will be allowed to log in"`
CACerts []flag.File `long:"ca-cert" description:"CA Certificate"`
InsecureSkipVerify bool `long:"skip-ssl-validation" description:"Skip SSL validation"`
DisableGroups bool `long:"disable-groups" description:"Disable OIDC groups claims"`
@@ -74,7 +73,6 @@ func (flag *OIDCFlags) Serialize(redirectURI string) ([]byte, error) {
ClientSecret: flag.ClientSecret,
Scopes: flag.Scopes,
UserNameKey: flag.UserNameKey,
- HostedDomains: flag.HostedDomains,
RootCAs: caCerts,
InsecureSkipVerify: flag.InsecureSkipVerify,
RedirectURI: redirectURI,
