{"id":21722769,"url":"https://github.com/vishwac09/authzero","last_synced_at":"2025-04-12T21:53:01.621Z","repository":{"id":42004353,"uuid":"448336288","full_name":"vishwac09/authzero","owner":"vishwac09","description":"Integrate Drupal 8/9 website with the Auth0 Single Sign-On (SSO) platform.","archived":false,"fork":false,"pushed_at":"2024-04-19T09:10:43.000Z","size":35,"stargazers_count":7,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-09-21T10:27:38.169Z","etag":null,"topics":["auth0","auth0-php","composer","drupal-module","php","sso"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vishwac09.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2022-01-15T16:50:43.000Z","updated_at":"2024-04-18T11:07:10.000Z","dependencies_parsed_at":"2024-04-19T10:28:10.668Z","dependency_job_id":null,"html_url":"https://github.com/vishwac09/authzero","commit_stats":null,"previous_names":[],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwac09%2Fauthzero","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwac09%2Fauthzero/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwac09%2Fauthzero/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vishwac09%2Fauthzero/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vishwac09","download_url":"https://codeload.github.com/vishwac09/authzero/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248637834,"owners_count":21137538,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["auth0","auth0-php","composer","drupal-module","php","sso"],"created_at":"2024-11-26T02:32:47.342Z","updated_at":"2025-04-12T21:53:01.596Z","avatar_url":"https://github.com/vishwac09.png","language":"PHP","readme":"# AuthZero\n\n[![Latest Stable Version](http://poser.pugx.org/vishwac09/authzero/v)](https://packagist.org/packages/vishwac09/authzero) [![Total Downloads](http://poser.pugx.org/vishwac09/authzero/downloads)](https://packagist.org/packages/vishwac09/authzero) [![Latest Unstable Version](http://poser.pugx.org/vishwac09/authzero/v/unstable)](https://packagist.org/packages/vishwac09/authzero) [![License](http://poser.pugx.org/vishwac09/authzero/license)](https://packagist.org/packages/vishwac09/authzero)\n\n### Usage\nIntegrate Drupal 9.5/10 website with the Auth0 Single Sign-On (SSO) platform.\n\n### Motivation\nThe Auth0 team has announced the retirement of their official [Drupal 8 module](https://www.drupal.org/project/auth0). The [Github repository](https://github.com/auth0-community/auth0-drupal) will be available until March 8, 2022, after which it will be removed. The auth0 team recommends using the [OpenID Connect / OAuth client](https://www.drupal.org/project/openid_connect) drupal module as an alternative.\n\nThere 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.\n\n\u003e 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.\n\nIf you wish to go through the working of this module or how Auth0 SSO works check my blog [Drupal 8/9: Integrating with auth0](https://medium.com/@vishwa.chikate/integrating-drupal-with-auth0-2074bda2e22) on Medium.\n\n# Version\nActive releases and their compatibility.\n\n| Version | Drupal | Recommended | Docs |\n| --- | --- | --- | --- |\n| 3.0.x | 9.5 and above | Yes | [Docs](https://github.com/vishwac09/authzero/releases/tag/3.0.0) |\n| 2.0.x | \u003e=8.x \u003c=10.x | Yes | [Docs](https://github.com/vishwac09/authzero/releases/tag/2.0.0) |\n| 1.0.x | \u003e= 8.x \u003c= 10.x | No | [Docs](https://github.com/vishwac09/authzero/releases/tag/1.0.5) |\n\n# Getting Started (v3.0.x)\n\n\u003eThe 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.\n\n## Table of Contents\n\n- [Upgrading to 3.0.0](#upgrading-to-300)\n- [Install](#Install)\n- [Module Settings](#Module-Settings)\n- [Versions](#Versions)\n\n## Upgrading to 3.0.0\nVersion 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.\n\n#### \u003cins\u003eImportant Notes when migrating to 3.0.0.\u003c/ins\u003e\n1. Backup all the credentials.\n2. Uninstall the module older version any of \"__v2.0.0__\", \"__v1.0.5__\".\n3. Remove the \"auth0/auth0-php:7.5\" version library.\n4. Install the module and add the required info again.\n\n\n## Install\n\n#### \u003cins\u003eGet from Github\u003c/ins\u003e\n\n\u003e Navigate to your site's modules directory and clone this repo:\n\n  ```bash\n  $ cd PATH/TO/DRUPAL/ROOT/modules\n  $ git clone https://github.com/vishwac09/authzero.git authzero\n  $ composer install\n  ```\n\n#### \u003cins\u003eGet from Packagist with Composer\u003c/ins\u003e\n\u003e From the root of your Drupal project run the below command. Link to [Packagist](https://packagist.org/packages/vishwac09/authzero)\n\n```bash\n$ composer require vishwac09/authzero:3.0.0\n```\n\n## Module Settings\n\u003e 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.\n\n## Notes\n\n\u003eThe 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.\nImplement the hook in any custom module and write the code to create the user account.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwac09%2Fauthzero","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvishwac09%2Fauthzero","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvishwac09%2Fauthzero/lists"}