The Auth panel helps you manage user authentication, and content protection for your web app. This lesson will show you how to add advanced signup, and login functionality to Webflow.
It's difficult to envision the internet without user accounts.
Most web-apps and services nowadays have some form of authentication and content protection. It might even be a crucial element of the business you're trying to build.
So let's learn how to build it with Webflow, Wized, and Firebase.
In this video, we'll learn:
- What is the Auth panel in Wized and what can you do with it?
- Which apps can I use to manage Authentication?
- How to it works, a practical example
What is the Auth panel used for?
Login, and Signup flows
Auth is short for authentication. And as you might expect, the Auth panel helps you manage authentication, and content protection. In other words, you can use the Auth panel to build Login, and Signup flows, and hide content from unauthorized users.
Content protection is another important part of authentication. You can choose to protect elements or pages. You can even create complex setups with multiple user tiers. Protecting
Which apps can I use to manage authentication?
Wized has many options for authentication.
You can use any of the following options:
- Custom REST API
With Wized, you have a lot of flexibility. You can create a straightforward signup process with email and password, using Airtable on the backend, or you can set up more advanced setups with Firebase or Xano, which allow users to log-in with Facebook, Google, etc.
How it works
In Webflow, you can style the login, signup and other authentication forms any way you like, and then configure the logic in Wized. Now that we understand the basics, let's setup Signup functionality with Wized, and Firebase.
Here are the steps:
- Create a free Firebase account
- Create a Firebase project
- Enable email and password authentication in the Firebase console
- Create a new app in Firebase project settings
- Copy the API key, App ID, and project ID
- Go to My Apps, and select Firebase
- Add the copied API key, App ID, and project ID
- Go to the Auth panel and select Firebase as the authentication provider
- In the Auth panel, click on "Create User". This will add a new request to the Data Out panel
- In the request, bind the email and password fields to your form inputs, and save the request
- Add an action to the sign-up button, call the action "Sign user up" and apply it to the sign-up submit button.
- Select "on click" as the trigger, and under configuration select "perform request", and select the "Create user" request
- Save the action, and refresh the canvas
For the Login user request, you can follow the exact same process.