How to build a basic private application with CARTO login
Here you will learn how to create an application that requires a login to access. This application will be only accessible to users inside your CARTO organization (regardless of their role), so you will need a CARTO user to access it.
If you're building an application for an Enterprise organization that requires an integration with your own login system, you'll need to first connect and enable the Single Sign-On (SSO) feature in CARTO.
The CARTO login uses the popular OAuth 2.0 Authorization Framework protocol, so in this guide you will find an easy process to implement it, including login and logout methods.
After completing this guide you will be familiar with the following concepts:
Scaffolding your application.
Creating a Single Page Application (SPA).
Managing the user login using Auth0 SDK.
Visualizing a dataset.
Executing a query against CARTO APIs.
Architecture diagram of a private application with Login