Drupal OAuth Single Sign On ( SSO ) module helps you login into your drupal site considering Auth0 as Server & Drupal as OAuth Client.
Implement an OAuth 2.0 Server cleanly into your PHP application. Download the Code from GitHub to get started.
- I am using Auth0 authentication and allowing the users to login to admin site. How ever, I am not able to get the django groups and permissions to work with these users. The users are getting saved to authuser table. I am using socialdjango with auth0. Here is a brief of the authentication backends, login, logout urls.
- Bitnami Documentation Microsoft Azure Multi-Tier Solutions Bitnami Stacks for Microsoft Azure Multi-Tier Solutions Bitnami Drupal Stack for Microsoft Azure Multi-Tier Solutions Configuration Install and configure Auth0.
- Using Certificates. Auth0 provides authentication and authorization as a service. For small projects that need to manage a user base but are concerned about security issues associated with local user credentials, Auth0 can offload the responsibility of managing a local datastore.
- Drupal 8 Module for Auth0. This plugin replaces standard Drupal 8 login forms with one powered by Auth0 that enables social, passwordless, and enterprise connection login as well as additional security, multifactor auth, and user statistics. Drupal 7 is supported only on v1.
PHP 5.3.9+ is required for this library. However, there is a stable release and development branch for PHP 5.2.x-5.3.8 as well.
This library follows the zend PSR-0 standards. A number ofautoloaders exist which can autoload this library for that reason, but if you are not using one, you can register the
Using Composer? Execute the following command:
composer.phar require bshaffer/oauth2-server-php '^1.10'
This will add the requirement to the composer.json and install the library.
It is highly recommended you check out the
v1.10.0 tag toensure your application doesn’t break from backwards-compatibility issues. However, if you’d like to stay on thebleeding edge of development, you can set this to
Get Started With This Library
Auth0 Drupal 7
Looking through the cookbook examples is the best way to get started. For those who just skim the docs forcode samples, here is an example of a bare-bones OAuth2 Server implementation:
See Main Concepts for more information on how this library works.
Learning the OAuth2.0 Standard
If you are new to OAuth2, I highly recommend the OAuth in 8 Steps screencastfrom Knp University:
Additionally, take some time to click around on the OAuth2 Demo Applicationand view the source code for examples using a variety ofgrant types.
Also, Auth0 provides a very nice layer for implementing OAuth2.0 for PHP applications.
Finally, consult the official OAuth2.0 documentation for the down-and-dirtytechnical specifications.
Auth0 Drupal 9
The best way to get help and ask questions is to file an issue. This willhelp answer questions for others as well.
If for whatever reason filing an issue does not make sense, contact Brent Shaffer (bshafs gmail