In our case we get authenticated from Okta and get user email set in User.Identity.Name. But to go ahead we have usernames used in the default membership provider. Is there a way i can update the User.Identity.name with the username after login. Just want to overwrite the email with username.
Used below but didnt worked