ellenfieldn / IdentityServer4.WsFederation

Full .Net Core implementation of WsFederation for IdentityServer4
Apache License 2.0
12 stars 6 forks source link

Bad DateTime format for the Token Lifetime #44

Open dimef opened 5 years ago

dimef commented 5 years ago

Both, Created and Expires XML elements have wrong date format according to the rest of the elements in the Assertion:

<Lifetime>
    <Created xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">7/4/2019 9:26:14 AM</Created>
    <Expires xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">7/4/2019 9:31:14 AM</Expires>
</Lifetime>
ellenfieldn commented 5 years ago

Hah. Good catch. I'll fix this soon.

ellenfieldn commented 5 years ago

I have a PR here if you want to take a look #47

I'll merge in soon before I do a new version