Opauth
Plugin do WordPress para sistema de autenticação unificado.
by Laboratório de Cultura Digital - Flávio Zavan · github.com/redelivre/wp-opauth · website
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/redelivre/wp-opauth/archive/refs/heads/master.zipWordpress plugin for Opauth
Wordpress plugin for Opauth.
Opauth is a multi-provider authentication framework.
Requirements
- Wordpress
- Permalinks enabled
How to use
-
Install this plugin in your wordpress plugin directory
cd wp-contents/plugins git clone https://github.com/redelivre/wp-opauth.git -
Download the submodules
cd wp-opauth git submodule init git submodule update -
Configure the plugin via the network administration panel
Multisite
This plugin does support multisite, however the strategy has to support the state parameter and use POST instead of sessions. This is true for most of the currently available strategies.
Configuration is done network wise. So different blogs owners don't have to get difrrent keys and painfully set everything up.
Adding Strategies
Here are the instruction to add a new strategy that isn't yet a submodule.
-
Place it in the strategies directory
-
Update opauth.conf.php's Strategy array. Make sure the variables you want the user to edit are set to null.
-
If the strategy needs a return url to be configured. Add its suffix to the array in callbacksuffixes.php. This step is optional, but does help the user when configuring.
-
Place the favicon inside the favicons directory. This is also optional, but recommended as the icon is shown to the user when logging in.
License
The MIT License
Copyright (c) 2014 Laboratório de Cultura Digital (http://labculturadigital.org)