diff --git a/SPMS.Infrastructure/Auth/JwtService.cs b/SPMS.Infrastructure/Auth/JwtService.cs index 4c66531..453f1ed 100644 --- a/SPMS.Infrastructure/Auth/JwtService.cs +++ b/SPMS.Infrastructure/Auth/JwtService.cs @@ -27,7 +27,8 @@ public class JwtService : IJwtService { new(JwtRegisteredClaimNames.Sub, adminId.ToString()), new(JwtRegisteredClaimNames.Jti, Guid.NewGuid().ToString("N")), - new(ClaimTypes.Role, role) + new(ClaimTypes.Role, role), + new("adminId", adminId.ToString()) }; if (!string.IsNullOrEmpty(serviceCode))