1.0.1 • Published 5 years ago

@deora_vipul/auth0-schematic v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
5 years ago

Add Social logins to your application with Auth0 with a single command

This schematic adds all that you need to get started with Auth0 authentication. It adds the required packages and service to integrate Auth0 authentication to your angular application.

Pre-requisites

Sign up for an account with Auth0. Set up your social login keys and save CLIENT_ID and CLIENT_DOMAIN. This will be required by the schematic.

Usage

ng add @deora_vipul/auth0-schematic

A login button will start appearing at the bottom of the screen. Clicking on opens up the Auth0 authentication page.

Inputs

KeyTypeDesciptionRequired
redirectPathstringPath to be redirected to after successful authenticationYes
clientDomainstringClient Domain as obtained from Auth0 registrationYes
clientIdstringClient ID as obtained from Auth0 registrationYes
projectstringName of the project in case using a workspaceNo

References

Visit the docs https://auth0.com/docs/quickstart/spa/angular2 for detailed explanation.