Integrate ghost.org users with bubble

I have developed an app on bubble which people will pay a subscription to access. (Working on stripe integration now)

I want to setup a cms for content and was looking at ghost.org the published content will be hidden and only accessible to paid users.

Is it possible to integrate the user database so that when someone pays and registers on bubble it creates a corresponding login for ghost.org to allow easy sign in. And vice versa. Basically share the underlying user registration/subscription status without having to register and login twice.

I know it might be technically possible but haven’t found any guides for this.

Is there a better way to accomplish this? I prefer using a cms dedicated to content instead of having to create it in bubble. Prefer not using Wordpress due to security issues.

Thanks in advance.

I don’t know why you exactly need to login on ghost (programmatically). Once you pay, do you want user to read the blog?

Ghost provide the Rest API, you can directly call them via the API Connector-

It is possible to do this via synched users.

You’ll need to work with the Ghost CMS API and use the JWT Encode plugin as this one allows you to edit the header which other dont. Then you set the right times in the payload (remember to use Unix epoch aka current time + extracted to.)

T.