leuchtfeuer/mautic-auth0-bundle
Composer 安装命令:
composer require leuchtfeuer/mautic-auth0-bundle
包简介
Auth0 is the solution you need for web, mobile, IoT, and internal applications. Loved by developers and trusted by enterprises.
README 文档
README
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:
- Download the plugin
- Unzip to the Mautic
pluginsdirectory - Rename folder to
LeuchtfeuerAuth0Bundle - In the Mautic backend, go to the
Pluginspage as an administrator - Click on the
Install/Upgrade Pluginsbutton to install the Plugin. OR - If you have shell access, execute
php bin\console cache:clearandphp bin\console mautic:plugins:reloadto install the plugins. Don't forget to activate the plugin in the plugin settings.
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 | |
| auth0_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):
{
...
"mautic": {
"role": <ROLE_ID>
}
}
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
Future Ideas
---Mention any planned updates, features, or ideas for future development.---
Sponsoring & Commercial Support
We are continuously improving our plugins. If you are requiring priority support or custom features, please contact us at mautic-plugins@leuchtfeuer.com.
Get Involved
Feel free to open issues or submit pull requests on GitHub. Follow the contribution guidelines in CONTRIBUTING.md.”
Credits
Author
Leuchtfeuer Digital Marketing GmbH Please raise any issues in GitHub. For all other things, please email mautic-plugins@Leuchtfeuer.com
License
“This plugin is licensed under the MIT License. See the LICENSE file for more details.”
Resources / Further Readings
leuchtfeuer/mautic-auth0-bundle 适用场景与选型建议
leuchtfeuer/mautic-auth0-bundle 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 823 次下载、GitHub Stars 达 12, 最近一次更新时间为 2020 年 06 月 03 日, 在 PHP 生态内属于活跃度较高的组件。
它主要适用于以下技术方向: 「user」 「login」 「SSO」 「auth0」 「Mautic」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。
我们在过去多个企业项目中使用过 leuchtfeuer/mautic-auth0-bundle 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 leuchtfeuer/mautic-auth0-bundle 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
与 leuchtfeuer/mautic-auth0-bundle 相关的其它包
同方向 / 同关键字的高下载量 PHP Composer 包推荐,方便对比选型:
WeChat OAuth SDK
Debugging a problem and need to login as one of your customers? This allows you to authenticate as any of your customers.
A Silverstripe module to allow you to log into any of your Silverstripe sites from one place.
Magento 2 Social Login extension is designed for quick login to your Magento 2 store without procesing complex register steps
Contao 4 bundle for a Facebook login.
Standalone replacement for php's native get_browser() function
统计信息
- 总下载量: 823
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 12
- 点击次数: 19
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-or-later
- 更新时间: 2020-06-03