FramerAuth Guides

Search guides...

Copy Link

Display pages and content to only members with an active license

Learn how to implement effective measures on your Framer website to restrict content access exclusively to users with active licenses. Enhance security, safeguard your product, and deliver a tailored user experience to licensed users.

Several scenarios may arise where members possess an account on your Framer website, powered by FramerAuth, without an active license.

Members who will have have an account but not a license:

  • Members with expired subscriptions

  • Members who canceled their subscription

  • Members signed up for free and plan to upgrade later

  • Members manually invited by the admin via the Members page

If you wish to restrict access to specific content only to member with an active license—meaning they've purchased your product and activated a license key—then this guide is for you."

  1. Locking entire pages

To ensure a page is only accessible to a member with an active license, you can simply assign a product to that page in the Pages section of your dashboard. If a product is assigned in the product column, then only members with an active license for that product will be able to access the page.

How a page appears when it's accessible only to members with an active license for the selected product:

By default, any page that is locked will be accessible to anyone who has an account on your website. A locked page looks like this:

And a page that is accessible to any visitor of your website will look like this:

  1. Locking content using overrides

FramerAuth offers a few useful overrides to enable you to seamlessly display certain content to only members who have an active license.

withActiveLicense:

Display this frame/component only to members who have an active Lemon Squeezy license - perfect for locking content.

withNoActiveLicense:

Display this frame/component only to members who do not have an active Lemon Squeezy license. For example, "Upgrade now!"

withVariantActiveLicense:

Similar to "withVariant" this override displays the locked variant of a component only to members who do not have an active Lemon Squeezy license and the unlocked version to members who have an active license

See our full override guide for more info.

Thanks for following along!

By implementing the strategies outlined in this guide, you can ensure that only users with active licenses—those who have purchased your product and activated a license key—are able to view specific content.

This not only helps protect your product but also enhances the user experience by providing relevant content to those who have invested in your offering.

If you have any questions or need assistance, please find us on the Support page.