So I’ve been waiting for decoupled membership functionality (API) for quite some time, but since it’s not yet ready, I decided to go around this.
Here’s the current plan:
- I’m using Gatsby for frontend + Netlify Identity for authentication
- When somebody wants to become a member and clicks on ‘Become a member’ I redirect them to members.mysite.com where customized Ghost Casper theme is shown. I don’t need to redesign the entire theme, I’ll just need to style a few pages involved in setting up membership.
- Once they sign up, I retrieve members from Ghost DB and update my Netlify DB used for membership on the main site with Gatsby.
One thing though that I’m worried about is whether I’ll be able to somehow get the list of all members from Ghost to sync them with Netlify Identity.