Download the PHP package vishwac09/authzero without Composer

On this page you can find all versions of the php package vishwac09/authzero. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?
vishwac09/authzero
Rate from 1 - 5
Rated 5.00 based on 1 reviews

Informations about the package authzero

AuthZero

Latest Stable Version Total Downloads Latest Unstable Version License

Usage

Integrate Drupal 9.5/10 website with the Auth0 Single Sign-On (SSO) platform.

Motivation

The Auth0 team has announced the retirement of their official Drupal 8 module. The Github repository will be available until March 8, 2022, after which it will be removed. The auth0 team recommends using the OpenID Connect / OAuth client drupal module as an alternative.

There was a need to include similar functionality in one of the project, but as the official module is deprecated we decided to write this module and make it public.

I would request to download the module and then customize it to fit the needs of their project. There will be no security audits or third-party testing for this module, so treat it as you would write a custom module developed for your project.

If you wish to go through the working of this module or how Auth0 SSO works check my blog Drupal 8/9: Integrating with auth0 on Medium.

Version

Active releases and their compatibility.

Version Drupal Recommended Docs
3.0.x 9.5 and above Yes Docs
2.0.x >=8.x <=10.x Yes Docs
1.0.x >= 8.x <= 10.x No Docs

Getting Started (v3.0.x)

The Drupal "authzero" module works only with Drupal Core version 9.5 and above. It requires the "auth0/auth0-php" version "8.10.1" of the library, which is added as a dependency in the drupal module composer.json file. Installing the drupal module will automatically install the correct version of the "auth0/auth0-php" library.

Table of Contents

Upgrading to 3.0.0

Version 3.0.0 is a complete rewrite / new implementation of the authzero drupal module. In the new version all the module settings are now stored using the "State API" and not as "Config API", this was done to avoid exporting "sensitive" auth0 credentials as config. New fields added in the settings form, allows for better control over the user actions viz. Login, Logout etc.

Important Notes when migrating to 3.0.0.

  1. Backup all the credentials.
  2. Uninstall the module older version any of "v2.0.0", "v1.0.5".
  3. Remove the "auth0/auth0-php:7.5" version library.
  4. Install the module and add the required info again.

Install

Get from Github

Navigate to your site's modules directory and clone this repo:

Get from Packagist with Composer

From the root of your Drupal project run the below command. Link to Packagist

Module Settings

The modules come with a settings form. To use it, go to https://SITE_DOMAIN/admin/config/auth0/settings and fill it out with all the necessary information. The authzero module won't function properly without it.

Notes

The module does not login any users who do not have an account on the site. You can achieve the same functionality using the hook mentioned above. Implement the hook in any custom module and write the code to create the user account.


All versions of authzero with dependencies

PHP Build Version
Package Version
Requires auth0/auth0-php Version ~8.10.0
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package vishwac09/authzero contains the following files

Loading the files please wait ....