Skip to content

IdentityToken.IsExpired is always true #630

Description

@hapthien

Hi guys,

Thank you for reviewing my reported issue.
I have a problem with checking IdentityToken.IsExpired flag. It is always True if the date time format of workstation is not the same with the expires value returned by server.
I got problem with

  • OVH Cloud
  • Server in French culture

https://github.com/openstacknetsdk/openstack.net/blob/develop/src/corelib/Core/Domain/IdentityToken.cs

In this file : https://github.com/openstacknetsdk/openstack.net/blob/develop/src/corelib/Core/Domain/IdentityToken.cs
-Should the expires value be in DateTime?
-and when checking the IsExpired, should consider about the Culture when "TryParse"?

Thank you,
hapthien

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions