Fix entityIssuer -> ssoIssuer typo

This commit is contained in:
Phu Kieu 2017-04-06 14:50:44 -07:00
parent 53acaa9e7c
commit bd754e2b2d

View file

@ -291,7 +291,7 @@ func (p *provider) HandlePOST(s connector.Scopes, samlResponse, inResponseTo str
if rootElementSigned { if rootElementSigned {
if p.ssoIssuer != "" && resp.Issuer != nil && resp.Issuer.Issuer != p.ssoIssuer { if p.ssoIssuer != "" && resp.Issuer != nil && resp.Issuer.Issuer != p.ssoIssuer {
return ident, fmt.Errorf("expected Issuer value %s, got %s", p.entityIssuer, resp.Issuer.Issuer) return ident, fmt.Errorf("expected Issuer value %s, got %s", p.ssoIssuer, resp.Issuer.Issuer)
} }
// Verify InResponseTo value matches the expected ID associated with // Verify InResponseTo value matches the expected ID associated with