Plugin Name
开发者 |
kasperrt
|
更新时间 |
2016年11月4日 20:05 |
PHP版本: |
4.0 及以上 |
WordPress版本: |
4.6 |
版权: |
GPLv2 |
版权网址: |
版权信息
|
详情介绍:
This plugin enables login with Dataporten, UNINETTS oAuth2.0 platform. The plugin works both with and without Docker. When used with docker, environment variables for client_id, client_secret, redirect_uri and much more can be used.
The plugin enables new and existing users on a wordpress blog to be automaticly assigned to a role, fetched from an array of defined roles decided from user-groups on Dataporten.
This plugin needs php curl to work!
安装:
- Upload the plugin files to the
/wp-content/plugins/dataporten-oauth
directory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the 'Plugins' screen in WordPress
- Use the Settings->Plugin Name screen to configure the plugin
Quick Start
- Download and install the dataporten-oauth plugin.
- Setup the oAuth2.0 settings in Settings > Dataporten-oAuth.
- Enable the plugin with Settings > Dataporten-oAuth > Enabled
常见问题:
Is it easy to change from Dataporten to any other system?
Yes, probably.
Am I allowed to change the plugin to fit my needs?
Yes.
更新日志:
3.1
- Folders.. folders everywhere...
2.7
- Forgot to update versions everywhere
2.6
- Logging in now updates name and email if they don't match.
2.5
- Autoclicking dataporten-login button when default form is hidden.
2.4
- Testing done, and seems to be working
2.3
2.2
- Fixed issue where email was mistaken as password
2.1
2.0
- Fixed better handling for varying scopes from dataporten, and added firstname + lastname in database from dataporten.
1.8
1.7
1.6
1.4
- Added option for enabling registering with dataporten even when user-registering is disabled.
1.3
- Hiding login button if comments are closed.
1.2
1.1
- Fixed error with nonce not being added in comments
1.0
- Added nonces to comment form
0.9
- Removed login-button from comment-form if user is logged in
0.8
0.5
- Removed all use of sessions
- Fixed errors showing up in DEBUG_MODE
0.4
- Added nonce to links to prevent CSRF
- Removing old states once every day, and checking whether the states are older than 10 minutes. If it is older than 10 minutes, the login is discarded.
0.3
- Security update
- States are now added to database, with an url. This can be extracted so we don't have to rely on sessions for previous urls.
0.2
- Bug fixes
- Redirecting works better now.