Skip to content

Commit

Permalink
Removed %s format for claims audience not matching Provider EntityID …
Browse files Browse the repository at this point in the history
…for #154 (#161)
  • Loading branch information
dherbst authored and crewjam committed Aug 20, 2018
1 parent 8be1aab commit 9bb91e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samlsp/middleware.go
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,7 @@ func (m *Middleware) GetAuthorizationToken(r *http.Request) *AuthorizationToken
return nil
}
if tokenClaims.Audience != m.ServiceProvider.Metadata().EntityID {
m.ServiceProvider.Logger.Printf("ERROR: invalid audience: %s", err)
m.ServiceProvider.Logger.Printf("ERROR: tokenClaims.Audience does not match EntityID")
return nil
}

Expand Down

0 comments on commit 9bb91e8

Please sign in to comment.