Skip to content

Commit

Permalink
make MaxIssueDelay configurable at runtime (mini-hack)
Browse files Browse the repository at this point in the history
  • Loading branch information
crewjam committed Aug 1, 2018
1 parent e231b7a commit d6cac45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service_provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ type ServiceProvider struct {
// issued by the IDP and the time it is received by ParseResponse. This is used
// to prevent old responses from being replayed (while allowing for some clock
// drift between the SP and IDP).
const MaxIssueDelay = time.Second * 90
var MaxIssueDelay = time.Second * 90

// MaxClockSkew allows for leeway for clock skew between the IDP and SP when
// validating assertions. It defaults to 180 seconds (matches shibboleth).
Expand Down

0 comments on commit d6cac45

Please sign in to comment.