I am using Auth0 to handle authentication.
Once the user is authenticated, I need to handle payments with Stripe.
This is all client-side, which adds some complications. I would like Auth0 to be the single source of truth for a user.
In short, I need to be able to update the Auth0 app_metadata with the subscription data from the Stripe payments. I have a webhook in Stripe that I can use for a successful payment. It can call a URL endpoint, for example. Is it then possible for Stripe to communicate with Auth0 to update the user’s subscription status?
Any ideas at all would be appreciated.