Here’s the goal:
- Use Auth0 for ID management
- Use Stripe to sell memberships to a website
- Use custom social logins to grant/remove access to premium areas with third-party services (namely Discord through role granting/removal)
- Somehow keep this all in sync
The kicker: the core website is a static site built on Jekyll. So there is no database or back-end code that can be used.
Tying Auth0 to Discord and team is fairly straightforward.
Setting up pages for the memberships in Stripe is fairly straightforward. I believe it’s not difficult to set up a webhook in Stripe that would update the metadata for a user in Auth0 as memberships are created/cancelled.
Two questions here:
Is it possible with rules to keep roles updated in Discord?
Is it possible to manage access to webpages on the static site based on the metadata from Auth0?
Hopefully, I’ve posed this correctly. If it’s unclear, please ask more questions. I’m still exploring this.