Merge pull request #897 from Calpicow/issuer_typo

Fix entityIssuer -> ssoIssuer typo
This commit is contained in:
Eric Chiang 2017-04-06 14:57:33 -07:00 committed by GitHub
commit 258ec4ff4b

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