jsoftb / auth0
Auth0 Authenticate object for CakePHP 3.x
Installs: 883
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 2
Forks: 1
Type:cakephp-plugin
Requires
- php: >=5.4.16
- auth0/auth0-php: ~3.0
- cakephp/cakephp: ~3.1
Requires (Dev)
This package is not auto-updated.
Last update: 2025-03-29 21:59:48 UTC
README
Auth0 Authenticate Object for Cakephp 3.x
More reference about auth0 services: https://auth0.com/
Installation
Add to your composer.json file "jsoftb/auth0": "dev-master" Run composer update
Configuration
Open your AppController and inside the initialize function
$this->loadComponent('Auth', [
'authenticate' => [
'Auth0.Auth0' => [
'domain' => '<domain_value_provided_by_auth0>',
'client_id' => '<client_id_value_provided_by_auth0>',
'client_secret' => '<client_secret_value_provided_by_auth0>',
'redirect_uri' => '<redirect_uri_value_provided_by_auth0>'
]
],
]);
Follow the instructions about how to set up the login page in Auth0