Trigger function of my server on new user added

I am doing GitHub auth from two sides:
- Webapp: Auth to Github and the callback is go to the server.
  • VSCode: Auth to GitHub directly callback return to my vscode extension: (vscode://..)
No matter from where is logging, I need to attach it to a default Stripe plan. How I can detect when a new user has been logged into the system to do it?
Was this page helpful?