Skip to content

Commit 389d17b

Browse files
committed
Improve Logging
1 parent 34e6406 commit 389d17b

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/AasSecurity/SecurityService.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,11 @@ private string HandleBearerToken(string? bearerToken, ref string user, ref bool
877877
if (domain != "")
878878
{
879879
tokenClaims.Add(new Claim("domain", domain));
880-
}
880+
}
881+
882+
_logger.LogInformation($"User from Token: {user}");
883+
_logger.LogInformation($"Domain from Token: {domain}");
884+
881885

882886
return "";
883887
}

0 commit comments

Comments
 (0)