Let’s say you select an Folder with Password protection inside Webflow. I want to get a callback if someone logs in with a general password so i can disable a class for example.
ah, i see. you can’t do anything like that with the password protection feature unfortunately. about the only thing you could do is trigger a script when someone views the page with the assumption that they’ve entered a password since they’re accessing it.
I’m trying to create a website in Webflow where certain pages are protected and can only be accessed by entering a password. Once the password is entered, hidden elements on not protected pages will be displayed. Essentially, it’s like a user login but specifically for accessing protected pages within the website. Can anyone guide me on how to set this up in Webflow?
Marcel, you’re talking about a simple, standard setup in Webflow.
Setup memberships
Create an access_group
Protect some pages
Use conditional visibility on elements on other ( non-secured ) pages on your site, to control which parts are visible to logged in v. logged out users.
the problem is, i just can’t create members from scratch. i need to invite them via e-mail right? Or is there an other way i can set up custom users with Username and Password…?
Yes, you can invite them or allow them to self-register, depending on your needs.
On Webflow, the secure, integrated solution is memberships. There are lots of other solutions, but 3rd party ones like Memberstack will add cost and aren’t quite as secure.
If you’re a developer, search the forums for Firebase authentication, you’ll find some guides on how to build that- and then you have more control over the onboarding process.