#SSOPress - v0.2.2 SSOPress is a single sign-on plugin for Wordpress. It currently operates via JWT based authentication.
##Installation Just download and jam in your plugins directory. The configuration menu is under Settings > Single Sign-on.
##Requirements This was tested with Wordpress 4.2.4 and PHP 5.5.9. I'm going to say don't use it with anything less than PHP 5.4 and Wordpress 4.2.
##Configuration Configuration is simple. Just provide your SSO provider's Login URL, Logout URL, and JWT Secret.
You can also enable or disable requiring your users to use sso, obfuscating passwords when logging in to extra-prevent traditional login, and wether or not users that don't exist should be provisioned.
##JWT Claim Specs Almost every user attribute is supported in the JWT claim. Some attributes will be auto generated by the other attributes that are available if they are not present in the claim.
username
and email
must be present in the claim.
If role
is not set, it will default to subscriber
.
Usernames and email addresses are unique among users. When auto provisioning users the process will fail if either value is taken.
{
"iss": ,
"aud": ,
"iat": ,
"exp": ,
"jti": ,
"username": "justin",
"email": "[email protected]",
"first_name": "Justin",
"last_name": "Ouellette",
"role": "administrator",
"website": "http://jouellette.com",
"nicename": "Justin Ouellette",
"display_name": "Justin O",
"nickname": "J",
"description": "A super cool guy."
}
##Other Credits and special thanks to Firebase as this plugin relies on and includes the php-jwt library from https://github.com/firebase/php-jwt