Could you please advise on how to authenticate the user after creating an account or resetting the password when the system sends an email which contains a button the user has to click which opens and then authenticates?
@IntegratorDima4 ай бұрын
I think the solution might look like this: 1. The server generates a secure, time-limited token 2. Email is sent to the user with the link like yourapp.com/auth/confirm?token=eyJhbGciOiJIUzI1NiIsInR... to your backend. 3. The backend validates the token and if all is good - user is authenticated and logged into the application. Maybe check something like OAuth 2.0 for your programming language.