onlime-roundcube/jwt-sso
Composer 安装命令:
composer require onlime-roundcube/jwt-sso
包简介
Roundcube plugin for Single-sign-on (SSO) login to external mailaccount management.
README 文档
README
Requirements
I only test this plugin with the following environments. Other setup may work with luck.
- PHP: >=
7.4 - Roundcube:
1.4.x
Install
Install this Roundcube plugin with Composer (recommended). Go to your ROUNDCUBE_HOME (i.e., the root directory of your Roundcube installation) and run:
$ composer require onlime-roundcube/jwt-sso --update-no-dev
Do you want to activate the plugin jwt_sso? [Y|n]
Then change at least the following in plugins/jwt_sso/config.in.php:
$config['jwt_sso_url'] = 'https://my.example.com/auth/sso-roundcube?token=%s';
$config['jwt_sso_key'] = '********************************';
NOTE: The base64 encoded JWT secret key can be generated with e.g.
openssl:$ openssl rand -base64 32
If you did not select to activate the plugin directly from composer require, manually add jwt_sso to the plugins in your Roundcube config config/config.inc.php:
$config['plugins'] = [
// some other plugins...
'jwt_sso', // <-- add this line
];
You can now integrate the SSO link in e.g. skins/elastic/templates/includes/menu.html:
<a class="button-settings" id="rcmbtn-sso" href="?_action=sso" target="_blank">
<span class="button-inner">Account</span>
</a>
TODO
- [ ] Use
<roundcube:button ..>instead of plain HTML in menu template - [ ] Could the account button be directly added to taskmenu by this plugin?
License
This plugin is released under the GNU General Public License Version 3+.
About
The project is hosted on GitLab. Please use the project's issue tracker if you find bugs.
onlime-roundcube/jwt-sso was written by Philip Iezzi for Onlime GmbH.
统计信息
- 总下载量: 74
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0
- 更新时间: 2021-01-28