🤖
Alphi
  • Welcome to Alphi
  • Projects
    • 📗Creating a project
    • 🔗Allowed Hosts
    • 👥Collaborators
  • Flow Builder
    • Overview
    • ⚡Methods
    • 🎛️Parameters
    • 🧱Nodes
    • 👟Running
    • 🚀Environments
  • Connections
    • Overview
    • 🔑Add an API Key
    • 🔓OAuth Connections
  • Authentication
    • Overview
    • 🟡Outseta
    • 🔵Memberstack
    • 🟠Firebase
  • Nodes
    • 🌐HTTP Request
    • 🛣️Logic
    • 🗜️Flatten
    • 🪣Filter Keys
    • 🔤Format Keys
    • 🏷️Rename Keys
    • 🔩Drill Down
    • ⬅️Get Values
    • 🪄Set Dataset
    • ✨Set Property
    • 🍪Set Cookie
    • 🔑Set Connection
    • #️⃣Encode JWT
    • 🔢Decode JWT
    • 🖼️Render
    • 📜Ethereum - Verify Message
  • Response Nodes
    • 👾JSON Response
    • 🎨HTML Response
    • 🔗HTTP Redirect
    • 🚫Error
Powered by GitBook
On this page
  • Configuration
  • Access User Data
  • Properties
  • User Token
  1. Authentication

Memberstack

Authentication & payments for companies who love Webflow, Stripe, & React.

Configuration

You can find your Memberstack Site Id in your Memberstack V2 dashboard.

Memberstack V1 does not display the Site Id within the dashboard instead, you have to extract it from the JWT. Please raise a support ticket if you would like assistance getting your Memberstack V1 Site Id.

  1. In the navigation, click the ⚙️ icon

  2. In the Memberstack Site Id field, enter your Id

  3. Save the changes

  4. Open the flow you want to secure and add the Memberstack node after the start node.

🎉 Congratulations, you successfully secured your flow using Memberstack.

The Memberstack node does not need to be added after the start node. If you would like to perform some logic before performing the authorisation check, this is absolutely fine.

Access User Data

To access data associated with the user making the request, you can use the handlebar expressions e.g. {{request.user.id}}.

Properties

Name
Expression

id

{{request.user.id}}

email

{{request.user.email}}

WARNING the email property was deprecated in Memberstack V2!

User Token

To access a user token for testing log into your website and run the following code snippet within the console.

Memberstack V1

MemberStack.getToken()

Memberstack V2

$memberstackDom.getMemberCookie()
PreviousOutsetaNextFirebase

Last updated 2 years ago

If you would like to access additional user data associated to the logged in user you will need to use the HTTP Request node to call the .

🔵
Memberstack Admin API