struggling with authorization/gated content
I'm basically looking to replace memberstack's gating, and I think all I'm missing is a javascript snippet or a lightweight library to handle what I need. I was using memberstack, but to pay (and have user caps) just for the gate... as I'm not leveraging their payment processing or user management... it seems truly silly.
Details:
• I'm using magic link/passwordless loginÂ
• I understand the authentication process, using jwt for API protection, etc.
• what I don't have is the method for my site to gate content based on whether the token was authenticated or not (is there a valid token? if so, do nothing. If not, redirect to login)
Can anybody point me in the right direction? A script, a library, an open source project... not Auth0 🙂?
Thank you!
Templates & Extensions
1 reply