-
Notifications
You must be signed in to change notification settings - Fork 11
OKTA-330325 Ensure primary authentication expiration is 5 minutes fro… #42
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Glad this is fixable 👍
@@ -30,7 +30,8 @@ public DefaultSerializer() | |||
NullValueHandling = NullValueHandling.Ignore, | |||
DefaultValueHandling = DefaultValueHandling.Ignore, | |||
ContractResolver = new DefaultContractResolver(), | |||
}; | |||
DateParseHandling = DateParseHandling.DateTimeOffset, | |||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit-pick: Fix indentation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One minor nit-pick to fix.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
…m authentication
Issue #
https://oktainc.atlassian.net/browse/OKTA-330325
Fix #41 41
Code
Current behavior
json date strings are being converted to DateTime objects, timezone information is lost during subsequent =>String=>DateTimeOffset conversion.
Desired behavior
json date strings will be deserialized to DateTimeOffset objects, timezone information is preserved during String=>DateTimeOffset conversion.
Additional Context