Set Up Your Authentication

Learn how to build a simple contact management app with our getting started video guide. Each video in the series introduces a new topic, so for the best learning experience, be sure to watch them all in order.


Welcome to part six of this video guide on how to set up your user authentication. In the previous video, we learned how to create a table. That’s going to store all of the user credentials. We also learned how to create a view that filters out all of your active users. Now let’s go to the authentications object to create the login screen. We’ll click on New, to set up a new authentication. Next let’s select the view as your data source.

Remember the view filters, all of your active users. So anyone inside this view will be able to log into the application. You can use express login if you need to create a quick login screen, but let’s select custom so that we can select additional customization options. If you wish to use the view as your data source for user validation, you can leave the top radio button selected.

If you want users to log in with their social media accounts, you can choose the second radio button. If you want them to use the credentials from both the view and social media, you can select the third radio button option. And finally, if you already have your user information stored with an identity provider or IDP, such as Microsoft Active Directory or Okta, you can connect your Caspio applications to those IDPs for a seamless login experience.

I’ll choose recommended – You can expand the advanced settings for additional customization options, but for now, I’ll go ahead and click on create, give the authentication a name such as CM user login. Now that you have the authentication created, you can go back to your data pages and apply to all of your forms and reports. Let’s click on edit.

Click next to a few times. Once you reach the access and security action, you can enable it and then very simply select the authentication from the dropdown menu. Once you save your changes, you will now be able to preview the data page. The expected behavior is that you should now be able to see the login interface first and only the people that are active inside the view will be able to log in and view data page.

Let’s go back to Caspio and very quickly edit our report data page as well. Click next a few times and once again, enable access and security and apply the same authentication as before. When done, go ahead and click on Finish to save your changes. Both the submission form and the report should now be passed, protected.

Join me in the final video of this guide to see how we complete this application by deploying it to the web. I’ll see you there.

Next Steps

See why low-code developers are growing 3x faster than traditional developers.
Have a vision for an application? Talk to a Caspio product expert and we’ll help you achieve it.
Want to see if Caspio is a good fit for your needs? Choose a date and time for a personalized demo.