Download the PHP package leuchtfeuer/mautic-auth0-bundle without Composer

On this page you can find all versions of the php package leuchtfeuer/mautic-auth0-bundle. 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?

Informations about the package mautic-auth0-bundle

Auth0 Integration by Leuchtfeuer

This Mautic plugin allows logins and sign ups via Auth0.

Requirements for this release

[!TIP] Other releases of this plugin may cover different Mautic versions!

  • Mautic 5, 6 or 7
  • PHP 8.1 or higher

Installation

Composer

This plugin can be installed through composer.

Manual Installation

Alternatively, it can be installed manually, following the usual steps:

Configuration

Configuration Description
domain Auth0 Domain
audience Link to audience (should be /api/v2)
client_id ID of the client
client_secret Secret of the client

Auth0 Configuration

You can configure the mapping (Auth0 data -> Mautic User data) in the configuration module. There are several options:

Configuration Title Default (Auth0) Value
auth0_username Username email
auth0_email Email email
auth0_firstName First Name given_name
auth0_lastName Last Name family_name
auth0_signature Signature
auth0_position Position
auth0_timezone Timezone
auth0_locale Language

Use dot syntax to access arrays (i.e. user_metadata.login_name).

Roles

If you want to map a role from Auth0 to your Mautic-User you have to alter your app_metadata in your Auth0-User (where <ROLE_ID> is the ID of your Mautic-Role):

Update from Mautic 2.x.x to Mautic 3.x.x

When updating the plugin, please make sure to change the callback URL from ../s/sso_login/Auth0Auth to ../s/sso_login/Auth0 in your Auth0 application settings.

Update from Mautic 4.x.x to Mautic 5.x.x

When updating the plugin, please make sure to change the callback URL from ../s/sso_login/Auth0 to ../s/sso_login/LeuchtfeuerAuth0 in your Auth0 application settings.

Known Issues

Troubleshooting

Make sure you have not only installed but also enabled the Plugin. If things are still funny, please try php bin/console cache:clear

Change log

Author

Leuchtfeuer Digital Marketing GmbH Please raise any issues in GitHub. For all other things, please email [email protected]

License

“This plugin is licensed under the MIT License. See the LICENSE file for more details.”

Resources / Further Readings


All versions of mautic-auth0-bundle with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
ext-json Version *
guzzlehttp/guzzle Version ^7.2
mautic/core-lib Version ^5.2|^6.0|^7.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 leuchtfeuer/mautic-auth0-bundle contains the following files

Loading the files please wait ...