How to define who can authenticate?

Hello everyone,

I’m thrilled to join the Plasmic community, I’m thoroughly enjoying the experience so far. A huge congratulations to everyone involved in making such a fantastic platform!

I’m currently working on developing a simple SaaS application, and I have a question regarding user authentication control. My goal is to restrict authentication access to only paid users, leveraging Stripe for payment processing.

After reviewing this discussion, it seems that dynamically adding emails to a group might not be feasible. Does anyone have alternative suggestions on how I can achieve this functionality?

Thanks

Hello @nuno_lopes, welcome to the community!

Correct, you can’t dynamically add emails to a group. But maybe user custom properties might work for your use case instead. When a user logs in, a query could check if the user has paid or not, and use that data to conditionally decide whether to show some gated part of your app.