Skip to content

fix(saml11): do not mutate moment() when options.lifetimeInSeconds is provided - #78

Merged
david-renaud-okta merged 1 commit into
auth0:masterfrom
luuuis:saml11-dont-mutate-moment
Feb 9, 2022
Merged

david-renaud-okta merged 1 commit into
auth0:masterfrom
luuuis:saml11-dont-mutate-moment

Conversation

@luuuis

@luuuis luuuis commented Sep 24, 2021

Copy link
Copy Markdown
Contributor

Don't mutate the moment instance while generating the NotOnOrAfter, which causes the AuthenticationInstant to be incorrect.

Fixes #32.

@luuuis luuuis changed the title fix(saml11): do not mutate moment() when options.lifetimeInSeconds is provided fix(saml11): do not mutate moment() when options.lifetimeInSeconds is provided Sep 24, 2021
@david-renaud-okta
david-renaud-okta merged commit 74a3f3d into auth0:master Feb 9, 2022
@luuuis
luuuis deleted the saml11-dont-mutate-moment branch February 9, 2022 15:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

SAML 1.1 - the moment variable "now" is mutated for AuthenticationInstant

4 participants