Hi folks,
I have a nodejs based appllcation where I integrated auth0 login. I want to save loggedin user details in my own database. My question is, when user hits URL/login and authorize it with app, Can I redirect to my another route and save fetched user info in my database?
For this, I recommend using a Post-Login Action to make a request to save the logged-in user details to your database. This way the user details are saved programmatically every time the user logs in.
But if you prefer to redirect the users to another route, I recommend using a Redirect Action to do so.
I hope this helps!
Please let me know if there’s anything else I can do to help.