I would like to create a javascript powered application that communicates with an external server. Additionally, I would like to use the webflow user/ecom system to create users.
Example: Someone who is subscribed to a paid plan can submit a request and get a response from the external server with the paywalled data. I want to verify this user in the server. Therefore, I would like get get the current ID of the user, along with a secret to be sent to the server and to a proper response.
Or send a token to the external server which I can use to verify the other end.
I appreciate the answer and your unique way of getting that data, but I was looking for a cleaner way to do this. I am surprised at Webflows lack of ability to show user information and integrate other login authenticators. It’s all a bit messy. But I really appreciate your method and that you took the time to solve this problem!
its ok. I do not want to use or pay for Memberstack. I want to learn how to build my own system with mongodb. And use webflow as a front-end since I love the design and interactions aspect of webflow. I am just going to create a layer above the front-end to work how I need it to work.
Ok, but from a practical standpoint it’s going to cost you a lot more to rebuild it. Certainly implementing the auth part though is a useful learning exercise.