Javascript Single Page App Introduction

This multi-step quickstart guide will walk you through setting up and managing authentication in your vanilla JS apps using Auth0.

1. Create an Application

Create an Auth0 account (or login) and add an authentication client instance from the dashboard. Once you create your client, you will be provided with credentials (Domain, Client ID, and Client Secret) which should be stored somewhere safe (do not commit this information to your git repo!). You can download the sample after you login and it will be pre-configured with your Default App credentials.

App Dashboard

2. Dependencies

To integrate your JavaScript application with Auth0, add the Lock widget. You can get it from Bower or from the Auth0 CDN.


bower install auth0-lock


<script src=""></script>
Next Tutorial
2. Login
Try Auth0 for FREECreate free Account