Skip to content

Commit

Permalink
Merge pull request #511 from DuendeSoftware/brock/local_date_bug
Browse files Browse the repository at this point in the history
fix creation time to be utc (not local time)
  • Loading branch information
brockallen authored Nov 9, 2021
2 parents 5b61dc9 + 2f2902d commit 952858d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public virtual async Task<BackchannelAuthenticationResponse> ProcessAsync(Backch

var request = new BackChannelAuthenticationRequest
{
CreationTime = Clock.UtcNow.DateTime,
CreationTime = Clock.UtcNow.UtcDateTime,
ClientId = validationResult.ValidatedRequest.ClientId,
RequestedScopes = validationResult.ValidatedRequest.ValidatedResources.RawScopeValues,
RequestedResourceIndicators = validationResult.ValidatedRequest.RequestedResourceIndiators,
Expand Down

0 comments on commit 952858d

Please sign in to comment.