It’s not about wordpress. Our API (Which I coded) is in PHP. It is responsible for supplying data to the user interface. This works by some code on the wordpress page making an HTTP request to my API. Since the user is logged into WP and since my API is able to include a special WP file that allows it to interact with the WP install (Possible since both my API and WP are on the same server), my API can check to see if the user is logged into WP and if they have paid.
In the case of webflow, I would have to put my API on a different subdomain since the main site and API will no longer be hosted on the same server. That way, pages can still make HTTP requests to the API. Easy enough but now that they are no longer on the same server, there is no file (Like the WP file) to include in my code that will enable getting a user’s logged in and payment status.
Usually, the way to accommodate this would be having my API connect back to webflow’s API upon each request to verify user status. They do have an API but upon further inspection, I don’t see any API methods for getting the currently logged in user’s authentication status or membership: https://developers.webflow.com/#authenticationThe API seems very limited and is therefor giving me cause for some concern.