I have setup auth0 for a blazor wasm application and a separate aspnet-core API. Everything is working as expected but when signing in with Google oauth2 the value of User.Identity.Name is my fullname in the blazor application but in the API the value of User.Identity.Name is my email address. How can i configure the token so that the value of User.Idenity.Name is the same in both the Blazor app and the API? Should I do this in the custom AuthorizationMessageHandler?
Best regards
Edvin