Post User object to SQL Server db after signup

Yes it does! Just a couple of questions if you don’t mind.

First option:
So where exactly in my Angular front-end would I do that? It’s kind of unclear to me where in code does that happen, I followed this guide. And every time user logs in/signs up I would extract user_id from token and check if that object exist in my db?

Second option:
Yeah, I just saw an action as a new option in Dashboard. Would I have to connect auth0 to my local database somehow(something like https://auth0.com/docs/connections/database) or just writing an action is enough? Also, is there a example of that kind of action?

Sorry for bothering you, I’m not very familiar with auth0, hope it’s not a problem.