ASP.NET External login registration page. Saving data to new user.
I have added some functionality so you can put in your name and number when you sign in to a web app using microsoft as the external provider. (No local accounts just the ability to use external login provider microsoft to authenticate all users). Thing is what I've added works and it saves when the user is created. But for some reason the profile picture just won't save. Even though I have it set up with the same code in account settings, it doesn't work on this page and I can't figure out why.
3 Replies
These codes are the view and code behind for razor pages. The "Index" implementation works as expected and the profile picture is saved and updated as expected. It's just trying to add this function to the registration flow is not working and I'd like to understand why.
Again, firstname, lastname and phone number succesfully save to the user but the picture does not, even though it follows the same procedure as the working implementation.
Welp guess it's hopeless