backend for logging
This commit is contained in:
@@ -33,6 +33,7 @@ public class JwtMiddleware
|
||||
else
|
||||
{
|
||||
var token = context.Request.Headers["Authorization"].FirstOrDefault()?.Split(" ").Last();
|
||||
Console.WriteLine(token);
|
||||
if (token != null && _jwtService.ValidateJwtToken(token))
|
||||
{
|
||||
await _next(context);
|
||||
|
||||
@@ -0,0 +1 @@
|
||||
2024/05/02 11:02:08 Micro started
|
||||
Reference in New Issue
Block a user