I have created a project scaffolded by Visual Studio 2019 using Angular and MVC Rest API using C# and .NET Core with Entity Framework.
I selected to use IdentityServer4 to register and confirm user emails. With this you also get password reset functionality, a login screen etc... I have configured SendGrid to send emails and have also hooked into Facebook as a authentication provider.
I wish to create user specific data after a user confirms their account on clicking the confirm link that was emailed to them. The user specific data is in the form of other tables and needs to be populated on confirmation.
I am at the point thinking that I have to write the code I have gotten for free (IdentityServer4) to get what I want done.
My question is how do I hook into the confirmation of the email\user to populate the tables with the users individual data? Is there an event\hook or interface that I should be providing.