Hi,
My first post here, hope it is not off-topic.
One thing that I find confusing after going through the tutorials is how to handle the “next step” after sign up.
Typically, in the days you were in control of the callback redirect before all the middleware magic, you would be invoked, check if the user existed in your database, add them if not.
How do you do this now in a good way?
I saw some articles from @andrea.chiarelli and some say:
a) Redirect to a “newuser” page after login and do your stuff there: What is Blazor? A Tutorial on Building Web Apps with Authentication - #158 by andrea.chiarelli
b) But I also found options of people hooking into OpenIdConnectEvents with OnTokenValidated
c) Or even play with “OnTicketReceived” to obtain the same. c# - Trying so save user data to dbcontext after first signup with Auth0 in asp.net core - Stack Overflow
What is the recommended way to do it? It is quite confusing for newcomers