Creating user record / profile for first time sign in
问题 I use an authentication service Auth0 to allow users to log into my application. The application is a Q&A platform much like stackoverflow. I store a user profile on my server with information such as: 'about me', votes, preferences, etc. When new user signs in i need to do 1 of 2 things: For an existing user - retrieve the user profile from my api server For a new user - create a new profile on the database After the user signs in, Auth0(the authentication service) will send me some details