In the miniOrange SAML SSO plugin, scroll down to the
Service Provider Setup section of the plugin. There are
two ways to configure the plugin:
A.
By uploading IDP metadata:
B.
Manual Configuration:
- Provide the required settings (i.e. Identity Provider Name, IdP Entity ID or Issuer,
SAML Login URL, X.509 Certificate) as provided by your Identity Provider.
- Click on the Save changes button to save your configuration.
Step 3: Attribute Mapping
- When the user performs SSO, the NameID value is sent by the Identity Provider. This
value is unique for every user.
- For the plugin to access these attribute assign the Email and Username
attribute.
- Addtionally user attributes can be mapped (such as Firstname and
Lastname).
- Click on the Save changes button to save your configuration.
Step 4: Custom Attribute Mapping:
- This feature allows you to map custom attribute sent by the IDP to the Moodle
attributes.
- To create a custom attribute, navigate to Site Administration >> Users >> User Profile Fields in the plugin.
- Click on Create a new profile field , select the type of attribute from dropdown and enter the values in required fields.
- Assign the desired value to the created custom attribute.
- Scroll down and click on the Save changes button to save your configurations.
Step 6: SSO settings
- In the plugin you can add a login widget to enable SP-Initiated SSO on your site.
- Navigate to Site administrator >> Plugins >> Manage authentication.
- Click on the to enable the plugin visibility.
- Click on the ⬆ to set plugin preference.
- To enable auto-redirect from Moodle login page to WordPress site .
- Choose Yes value from the dropdown for Enable Auto-redirect to IDP from Moodle login page field.
- Note down Backdoor URL it will be useful when SSO fails.
- Click on the Save changes button to save your configuration.