Open in app
Changhui Xu
1K Followers
About

Sign in

1K Followers
About
Open in app
Changhui Xu

Changhui Xu

·Jan 23

User Identity Name is from the claims. You can trace the code to see if the claims are properly set and passed into the token.

I'm struggling to figure out why my User.Identity.Name
1

Vanya

More from Changhui Xu

Senior Application Developer. MBA. I write blogs about .NET, Angular, JavaScript/TypeScript, Docker, AWS, DDD, and many others.

More From Medium

Using Tuples as Data Transfer Objects

Changhui Xu in codeburst

Upload Files with Angular and .NET Web API

Changhui Xu in codeburst

Overriding an Array Configuration Object

Changhui Xu in Level Up Coding

7 Questions to Ask When Designing and Implementing Background Jobs

Changhui Xu in codeburst

Download Files using Web API

Changhui Xu in codeburst

JWT Authentication in Angular

Changhui Xu in codeburst

IMemoryCache: Immutable Collections and Unit Tests

Changhui Xu in codeburst

Integration Tests for ASP.NET Core Web APIs using MSTest

Changhui Xu in codeburst

About

Help

Legal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store