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 bug where auth metadata in the auth blocking tokens are assumed to be seconds not miliseconds #1472

Merged
merged 4 commits into from Nov 2, 2023

Conversation

taeold
Copy link
Contributor

@taeold taeold commented Oct 17, 2023

Auth metadata included in the JWT sent to Auth Blocking functions may include fields last_sign_in_time and creation_time.

Values of these fields are sent as miliseconds since epoch. The SDK incorrectly assumes that they are seconds since epoch.

Unfortunately, this information is not publicly documented, but I was able to verify the fix in production.

Fixes: #1468

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.

AuthUserMetadata has invalid timestamp format
2 participants