Skip to content

Commit

Permalink
Clear invalid token
Browse files Browse the repository at this point in the history
  • Loading branch information
aorzelskiGH committed Jun 18, 2024
1 parent 8584df8 commit e20845b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AasxServerStandardBib/SecurityClient.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Globalization;
using AasxServerDB;
Expand Down Expand Up @@ -344,6 +344,7 @@ static void operation_authenticate(Operation op, int envIndex, DateTime timeStam
if ((jwtToken == null) || (jwtToken.ValidFrom > DateTime.UtcNow) || (jwtToken.ValidTo < DateTime.UtcNow))
valid = false;
if (valid) return;
accessToken.Value = "";
}

if (createAccessToken(envIndex, authServerEndPoint, authServerCertificate,
Expand Down

0 comments on commit e20845b

Please sign in to comment.