diff --git a/Disco.Services/Interop/DiscoServices/OnlineServicesAuthentication.cs b/Disco.Services/Interop/DiscoServices/OnlineServicesAuthentication.cs index 483e6cf9..2f3eb31d 100644 --- a/Disco.Services/Interop/DiscoServices/OnlineServicesAuthentication.cs +++ b/Disco.Services/Interop/DiscoServices/OnlineServicesAuthentication.cs @@ -105,7 +105,7 @@ namespace Disco.Services.Interop.DiscoServices throw new InvalidOperationException($"Failed to authenticate ({authResponse.ErrorMessage})"); token = authResponse.Token; - tokenExpires = DateTime.Now.AddSeconds(authResponse.ExpiresInSeconds.Value); + tokenExpires = DateTime.UtcNow.AddSeconds(authResponse.ExpiresInSeconds.Value); return token; }