View Code? Open in Web Editor
NEW
This helps getting azure appservice authentication working with asp.net core. The history of this project starts here: https://github.com/kirkone/KK.AspNetCore.EasyAuthAuthentication
License: MIT License
PowerShell 0.76%
C# 99.24%
cz.aspnetcore.easyauthauthentication's People
Stargazers
Watchers
cz.aspnetcore.easyauthauthentication's Issues
Enable the usage of multiple providers in the same app to the same time. So the user can came with anything and use your app securely.
There is a rare case where a JWT token doesn't contain a upn
claim.
Then easy auth will fail with a NullReferenceException
.
How this can happen?
If you have a user that is not part of you AAD as a member but is a guest he doesn't get a upn
Where do we explode?
xMsClientPrincipal[ " upn" ] ? . ToString( ) ?? string . Empty : // this appends if an user is using the auth token from the /.auth/me site on the website