jsoftb/auth0

Auth0 Authenticate object for CakePHP 3.x

Maintainers

Details

github.com/jsoftb/auth0

Source

Installs: 879

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 3

Forks: 1

Type:cakephp-plugin

dev-master 2016-08-02 22:33 UTC

This package is not auto-updated.

Last update: 2024-04-13 16:57:00 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