http://auth0.com/
Beware with creating your endpoint; it has to be unique and it is unchangeable.
Applications > create application. Choose JavaScript as technology.
Modify the settings of the application (tab settings
)
Allowed callback URL's
: the website to be authenticated, for instance https://app.example.com
.Allowed Web Origin
: in our case, the same than above: https://app.example.com
.Allowed Logout URL
, the same, too: https://app.example.com
.In the tab connections
- Dababase: ON
.
- Google: OFF
.
To be sure that the users receive personalized emails (SendGrid is an option easy to set up) For configuration instructions: https://auth0.com/docs/email/providers#configure-sendgrid-for-sending-email
In the menu users
The environmental variables allow to not hardcode the domain and ClientID:
CLIENT_ID = 'randomstring' AUTH0_DOMAIN = 'example.eu.auth0.com'
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.