mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 15:27:21 +01:00
readd auth header
This commit is contained in:
parent
cf082496e9
commit
2a5e505130
1 changed files with 1 additions and 0 deletions
|
|
@ -58,6 +58,7 @@ public class SecretKeyAuthenticationHandler : AuthenticationHandler<Authenticati
|
|||
var claims = new List<Claim>
|
||||
{
|
||||
new(ClaimTypes.NameIdentifier, authResult.Uid),
|
||||
new(ClaimTypes.Authentication, authHeader)
|
||||
};
|
||||
|
||||
var identity = new ClaimsIdentity(claims, nameof(SecretKeyAuthenticationHandler));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue