Horje
Authenticate users using simpleSAMLphp

Noted That:

  • To install correctly this simplesamlphp-authentication.zip.
  • Fisrt Download the simplesamlphp-authentication.zip to your computer
  • Extract/Open simplesamlphp-authentication.zip to Your Computer.
  • Then, Find readme.txt file inside simplesamlphp-authentication.zip and Open readme.txt.
  • Now, Read the Requirements of this plugin. Which Wordpress Version and PHP Version are required to run this Plugin in Your Wordpress Site.
  • Then, Follow the Tips Below.

Start the Tips:

1. First Download "simplesamlphp-authentication.zip" Plugin to your Local Computer. (Click Download)

2. Then, Login to your "yourdomain.com/wp-admin" Dashboard.

/stack/wp/e1593231376d7d849d2-4597-4fa3-a6ff-1eca18f72aab.png

3. Then, Click on "Plugins" + "Add New" from left sidemenu of Dashboard.

/stack/wp/e1593231378Screenshot20.png

4. Now, Click on "Upload Plugin" button.

/stack/wp/e1593231380Screenshot-2019-4-2AddPluginsHorjeWordPress.png

 

5. Now, Browse "simplesamlphp-authentication.zip" Downloaded plugin from your computer, Where you downloaded simplesamlphp-authentication.zip According to Step – 1 Above then, click on "Install Now"

/stack/wp/e15931461531577025694plugin.png

6. Now, Click on "Active Plugin"

/stack/wp/e15932313830ca45529-bf73-4101-8178-53ae60ce549f.png

7. Then, See left sidemenu. "simpleSAMLphp Authentication" folder is added on left sidemenu. Now, Click on "simpleSAMLphp Authentication" folder.

   Noted that: If you do not see "simpleSAMLphp Authentication" folder on left sidemenu then, see at left sidemenu "Settings" or "Tools".

8. Now you configure yourself oR Watch video tutorial below about simpleSAMLphp Authentication Configurtions and Settings or How to work "simpleSAMLphp Authentication" in your WordPress site.

 

oR

After Activated Plugin According to Step-6 then,

  1. Go to "Plugins" + "Installed Plugin" from Wordpress Admin Panel Leftside Menu.
  2. or Direct go to: https://yourdomain/wp-admin/plugins.php
  3. Then, Find "simpleSAMLphp Authentication" Activated Plugin from Plugin List.
  4. Then, Click on "Settings" from Plugin that is simpleSAMLphp Authentication
  5. Now, Edit/Add/Config the setting and Click on "Save Changes" button,
WP Plugin Setting



Guide
  1. Download simpleSAMLphp version 1.5 or higher on your web server and configure it as a service provider.
  2. Upload simplesaml-authentication.php to the wp-content/plugins/ directory of your WordPress installation.
  3. Log in as administrator and activate the plugin. Go to the Options tab and configure the plugin. If applicable, configure an eduPersonEntitlement that will be mapped to the Administrator role. Decide which attribute to use for the username. Take into consideration that the sanatize_user() function will be called on the value of this attribute (see wp_includes/formatting.php) which will remove anything but lowercase alphanumeric, space, dot, dash, and @-sign, and truncate it to 60 characters. A check is done to prevent creation of accounts with wrong usernames.
    If the attribute you intend to use as username does have illegal characters, or is longer, you can work around this by using a hash of the username. Configure an extra attribute in simpleSAMLphp, for instance by applying an authproc filter like this:

    25 => array(
        'class' => 'core:PHP',
        'code' => '$attributes["wp_userid"] =
            array(hash("sha224", $attributes["id_with_slashes"][0]));',
    ),
    

    Then use wp_userid as the username attribute. Now STAY LOGGED IN to your original administrator account. You won’t be able to log back in once you log out.

  4. Open a different browser, or on another computer. Log in to your blog to make sure that it works.
  5. In the first browser window, make the newly created user an Administrator. You can log out now. (Alternately, you can change some entries in the wp_usermeta table to make a new user the admin)
  6. Disable Options -> General -> Anyone can register (they won’t be able to)
  7. Make sure you enable administration over SSL (see https://codex.wordpress.org/Administration_Over_SSL)

simplesamlphp, using, users, authenticate,

Name

Reffered: https://wordpress.org/