Allowing untyped sections in the config

This commit is contained in:
Zoe Roux
2021-05-20 01:14:48 +02:00
parent 5f7604a563
commit 52e7093c26
7 changed files with 80 additions and 12 deletions
@@ -132,7 +132,7 @@ namespace Kyoo.Authentication
}
string permStr = $"{permission.ToLower()}.{kind.ToString()!.ToLower()}";
string overallStr = $"{_group.ToString()}.{kind.ToString()!.ToLower()}";
string overallStr = $"{_group.ToString().ToLower()}.{kind.ToString()!.ToLower()}";
AuthenticateResult res = await context.HttpContext.AuthenticateAsync(JwtBearerDefaults.AuthenticationScheme);
if (res.Succeeded)
{