Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(auth): Add missing Math.floor() when setting validDuration in createSessionCookie() #2712

Merged
merged 3 commits into from
Sep 25, 2024

Conversation

jonathanedey
Copy link
Contributor

  • Add missing Math.floor() when setting validDuration in createSessionCookie()
  • Modified test to use an expiresIn value set to the millisecond to verify this resolves the issue.

@jonathanedey jonathanedey added the release:stage Stage a release candidate label Sep 24, 2024
Copy link
Member

@lahirumaramba lahirumaramba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Jonathan! LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
release:stage Stage a release candidate release-note
Projects
None yet
Development

Successfully merging this pull request may close these issues.

AuthApiRequest expiresIn transformation is missing Math.round and causes rpc.BadRequest error
2 participants