Silverstripe module for Auth0 that works in combination with the Auth0 Lock.
This a Silverstripe 3 Module for Auth0 that works in combination with the Auth0 Lock.
composer require directlease/auth0
You can put your auth0 information the
The following fields need to be filled:
You can find these in your client settings in Auth0
This is the Domain field in Auth0
The client id of your auth0 client
The client secret of your auth0 client
The URL you want to use as your Auth0 audience
You need to register for an account at Auth0 and setup a tenant.
Next you need to setup a client for your tenant.
Set the Allowed Callback URLs and Connections for your client
You need to configure the Management API for your tenant and give it the correct scopes for the non-interactive-client in Auth0. The Management API is used in the 'updateToAuth0' function in the Auth0ApiController.
You need to configure the Allowed Logout URLs in your tenant settings to make the logout function work.
What we have done is make /Security/login the leading URL for all login actions.
We use the BackURL from SS to redirect the user, once he logged in with the Auth0 Lock, back to the page he wanted to visit.
Module rating system helping users find modules that are well supported. For more on how the rating system works visit Module standards
Score not correct? Let us know there is a problem