readd auth header

This commit is contained in:
rootdarkarchon
2022-12-31 12:56:18 +01:00
parent cf082496e9
commit 2a5e505130

View File

@@ -58,6 +58,7 @@ public class SecretKeyAuthenticationHandler : AuthenticationHandler<Authenticati
var claims = new List<Claim> var claims = new List<Claim>
{ {
new(ClaimTypes.NameIdentifier, authResult.Uid), new(ClaimTypes.NameIdentifier, authResult.Uid),
new(ClaimTypes.Authentication, authHeader)
}; };
var identity = new ClaimsIdentity(claims, nameof(SecretKeyAuthenticationHandler)); var identity = new ClaimsIdentity(claims, nameof(SecretKeyAuthenticationHandler));