I have a project to build a simple one to one video chat application where the problem statement is "A website where you can connect with your friends and have one to one video chat with them.
What I want to do is to add registration to the website which I have been able to do with Auth0. But, instead of using the random IDs, what I want is that the user’s unique email-id is used as the id and I enter the email id of another person who registers to connect the video call.
I have added the Auth0 authentication to the project but it is only on the react front. I want to access the user.email information after login inside my server nodeJS file as ID to connect to the socket.
I have very intermediate knowledge and my deadline is approaching, Can you please be kind enough and explain how to do the above. It would be very helpful. Thanking You. Regards.