It is possible to have a token from adal.js in an Angular application but for User.Identity.Name in a .NET Core controller to be null. I don't yet understand how. It's best to wrap User.Identity.Name in a null check before using it on the C# side.
No comments:
Post a Comment