Skip to content

Commit 602e4e0

Browse files
committed
Merge branch 'release/v1.0.3'
2 parents e280911 + f633da3 commit 602e4e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Wissance.Authorization/Wissance.Authorization/Authentication/OpenIdAuthenticationHandler.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ protected override async Task<AuthenticateResult> HandleAuthenticateAsync()
3636
}
3737
string authorizationKeyValue = Request.Headers[AuthorizationHeader].ToString();
3838

39-
// 2. Check presense of Bearer Token
40-
if (!authorizationKeyValue.ToLowerInvariant().Contains(TokenAuthorizationScheme))
39+
// 2. Check presenсe of Bearer Token
40+
if (!authorizationKeyValue.ToLowerInvariant().Contains(TokenAuthorizationScheme.ToLowerInvariant()))
4141
{
4242
return AuthenticateResult.Fail("Non supporting authorization scheme, expecting \"Bearer + token\"!");
4343
}

0 commit comments

Comments
 (0)