开发者 | |
---|---|
更新时间 | 2024年9月14日 00:09 |
PHP版本: | 3.0.1 及以上 |
WordPress版本: | 4.9 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
The I4A SSO plugin uses the I4A SSO web service API to authenticate members.
Yes, it will create users in Wordpress if they don't exist, upon the member's first login. It does not save the member's password in WordPress. The member will always need to sign in with their I4A credentials. Members need to navigate to the I4A-hosted website to change their passwords.
The I4A SSO plugin saves the user's single sign on token in a cookie in Wordpress. You need to append this SSO Token to the hyperlinks to your I4A-hosted website. This way the users can navigate over to the I4A-hosted website and not have to login again. The SSO token in the cookie field "ssoToken" To use it in a page or post, you can install another plug-in that will allow inline php code in your page (there are several). And something like the snippet below will then work. `[insert_php] if(is_user_logged_in()){ echo 'I4A SSO Token is: ' .$_COOKIE['ssoToken']; } [/insert_php]`