auth0/auth0-spa-auth-prereq

Name: auth0-spa-auth-prereq

Owner: Auth0

Description: A javascript library for Single Page Applications that kicks off an authentication flow when authentication is a prerequisite for the SPA.

Created: 2017-06-21 14:09:50.0

Updated: 2018-05-10 17:47:39.0

Pushed: 2017-06-22 17:47:50.0

Homepage: null

Size: 37

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

If you are using this in a web browser be sure to include Auth0.js:

 Latest patch release (recommended for production) -->
ipt src="http://cdn.auth0.com/js/auth0/8.8.0/auth0.min.js"></script>

Otherwise, if you are using this with NPM all the dependencies will be available as expected.

Pre-Requisites for Development
Node Version

We are targeting node version 4.8.0. Before installing dependencies you should use NVM to change versions of node by running the command below:

use 4.8.0
Installing Yarn

ALso, for running scripts and installing dependencies this project utilizes yarn. Please install yarn using brew so that it utilizes NVM.

 install yarn --ignore-dependencies
Installing Dependencies
 install
Building

To build a minified and non-minified version of the library run the following command:

 run build

Also, you can use build:dev or build:dist to generate non-minified or minified bundles explicitly.

What is Auth0?

Auth0 helps you to:

Create a free Auth0 account
  1. Go to Auth0 and click Sign Up.
  2. Use Google, GitHub or Microsoft Account to login.
Issue Reporting

If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

Author

Auth0

License

This project is licensed under the MIT license. See the LICENSE file for more info.


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.