Last post Jan 28, 2021 04:15 PM by bruce (sqlwork.com)
Jan 28, 2021 03:59 PM|johnjohn123123|LINK
I were watching this video on how to enable external login inside asp.net core mvc web application:-
but what is not clear is that after the user login to the asp.net core mvc web application using his Google/Facebook account will his account get created inside the asp.net identity database tables? Similar to how the user register inside asp.net mvc core
web application using the built-in register module?
Jan 28, 2021 04:15 PM|bruce (sqlwork.com)|LINK
typically not. usually you would persist additional data via claims storage
but you can add code to create local user account for the external login. you will need to use one of the external provider claims to link the accounts. if you could use the email address claim to create a local account. I'd store the provider type in the
if you create a local account, then on authorization, you can add claims from the local account.