Integrating roles with billing plans?
I'm building a resource portal, using Express.js and Kinde permissions to restrict access to content. Today, I am looking at building in billing functionality, but am unsure how I can tie various plans to user roles?
E.g. If someone subscribes to the "Subscriber" plan, how can Kinde add the "subscriber" role to the user. And if they change plan later ("Client" ), how can Kinde then change their role ("client")?
Is this something Kinde manages directly, or do I need to code for seperately, and use Kinde (Workflows?)?
E.g. If someone subscribes to the "Subscriber" plan, how can Kinde add the "subscriber" role to the user. And if they change plan later ("Client" ), how can Kinde then change their role ("client")?
Is this something Kinde manages directly, or do I need to code for seperately, and use Kinde (Workflows?)?