-
Notifications
You must be signed in to change notification settings - Fork 11
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
AuthenticationResponse.ExpiresAt timezone parsing error? #41
Comments
@OlegBoulanov , |
After this line:
add: and see the test fail: The expected value taken from here:
|
@OlegBoulanov, |
@OlegBoulanov, |
@bryanapellanes-okta |
Current behavior
Works fine in EST TZ (+5:00)
To reproduce the error, set computer UTC timezone (currently +1:00), try to
AuthenticationResponse = await authenticationClient.AuthenticateAsync(new AuthenticateOptions { Username = UserName, Password = Password } ...
18:41:39.745 User XXX authenticated: MFA_REQUIRED: AuthenticationResponse.ExpiresAt == 9/15/2020 17:46:38 +01:00
55 minutes ago?
Expected behavior
18:41:39.745 User XXX authenticated: MFA_REQUIRED: AuthenticationResponse.ExpiresAt == 9/15/2020 18:46:38 +01:00
in 5 minutes
Minimal reproduction of the problem with instructions
Check the time here: https://github.com/OlegBoulanov/okta-auth-dotnet/blob/61487890f1afbb8fd3e10f32cc7a3c7e4405cd88/Okta.Auth.Sdk.UnitTests/AuthenticationClientShould.cs#L184
Environment
Related issue: okta/okta-sdk-dotnet#347 ??
The text was updated successfully, but these errors were encountered: