fix: add EntityIssuer and SsoIssuer flags
@@ -21,6 +21,8 @@ type SAMLFlags struct {
DisplayName string `long:"display-name" description:"The auth provider name displayed to users on the login page"`
SsoURL string `long:"sso-url" description:"(Required) SSO URL used for POST value"`
CACert flag.File `long:"ca-cert" description:"(Required) CA Certificate"`
+ EntityIssuer string `long:"entity-issuer" description:"Manually specify dex's Issuer value."`
+ SsoIssuer string `long:"sso-issuer" description:"Issuer value expected in the SAML response."`
UsernameAttr string `long:"username-attr" default:"name" description:"The user name indicates which claim to use to map an external user name to a Concourse user name."`
EmailAttr string `long:"email-attr" default:"email" description:"The email indicates which claim to use to map an external user email to a Concourse user email."`
GroupsAttr string `long:"groups-attr" default:"groups" description:"The groups key indicates which attribute to use to map external groups to Concourse teams."`
@@ -58,6 +60,8 @@ func (flag *SAMLFlags) Serialize(redirectURI string) ([]byte, error) {
return json.Marshal(saml.Config{
SSOURL: flag.SsoURL,
CA: flag.CACert.Path(),
+ EntityIssuer: flag.EntityIssuer,
+ SSOIssuer: flag.SsoIssuer,
InsecureSkipSignatureValidation: flag.InsecureSkipVerify,
UsernameAttr: flag.UsernameAttr,
EmailAttr: flag.EmailAttr,
