Shibboleth Integration
-
Nikhil
# 8 years, 4 months agoCan you please let me know What version of plugin are you using?
Thanks,
NikhilNikhil
# 8 years, 4 months agoTed,
Please update the plugin. It should work then. Go to plugins in WP admin and click on “Update now” against miniorange plugin.
Thanks,
NikhilTed
# 8 years, 4 months agoHello Nikhil,
Thanks again for the help in resolving the miniOrange/SSO/Shibboleth integration issues we were having with our Production WP site. Everyone involved is very happy that the site is now working/available, and it is being actively used.
As I mentioned at the end, we had the final task of also getting our companion Development WP site to work as well. Will you be able to help resolve the issues we are having with the Dev site. The Dev site authenticates against a separate Shib Dev/Test Shibboleth IdP server. All of the MO plugin IdP, SP, Attribute, etc. settings have been configured accordingly for the Shib IdP Dev/Test server (and comparing to the Production site, as a reference), and appear to be correct, but the issue/symptom being received is the same “NameID… Missing” error being received (and with a blank page) (and after successfully authenticating), similar to the original error that we had had with the Prod site:
Fatal error: Uncaught exception ‘Exception’ with message ‘Missing <saml:NameID> or <saml:EncryptedID> in <saml:Subject>.’ in D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-content\plugins\miniorange-saml-20-single-sign-on\Assertion.php:140 Stack trace: #0 D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-content\plugins\miniorange-saml-20-single-sign-on\Assertion.php(112): SAML2_Assertion->parseSubject(Object(DOMElement)) #1 D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-content\plugins\miniorange-saml-20-single-sign-on\Response.php(63): SAML2_Assertion->__construct(Object(DOMElement)) #2 D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-content\plugins\miniorange-saml-20-single-sign-on\mo_login_saml_sso_widget.php(288): SAML2_Response->__construct(Object(DOMElement)) #3 [internal function]: mo_login_validate(”) #4 D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-includes\plugin.php(503): call_user_func_array(‘mo_login_valida…’, Array) #5 D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-settings.php(353): do_action(‘init’) #6 D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-config.php(97): require_once(‘D:\\OIT_DEV\\IEE in D:\OIT_DEV\IEEDev.med.jhmi.edu\wp-content\plugins\miniorange-saml-20-single-sign-on\Assertion.php on line 140
The configuration has been compared between our working Prod and the Dev a few times and appear to be correct, but we may be missing something. Will you be able to help.
Thanks,
TedNikhil
# 8 years, 4 months agoHi Ted,
Please verify these:
In conf/attribute-resolver.xml, confirm that you have following configuration:
<resolver:AttributeDefinition id=”transientId” xsi:type=”ad:TransientId”
xmlns=”urn:mace:shibboleth:2.0:resolver:ad”>
<resolver:AttributeEncoder xsi:type=”enc:SAML2StringNameID”
nameFormat=”urn:oasis:names:tc:SAML:2.0:nameid-format:transient”/>
</resolver:AttributeDefinition>
In conf/attribute-filter.xml, confirm that you have released the transientId attribute to relying party like this:
<afp:AttributeFilterPolicy id=”releaseTransientIdToAnyone”>
<afp:PolicyRequirementRule xsi:type=”basic:ANY”/>
<afp:AttributeRule attributeID=”transientId”>
<afp:PermitValueRule xsi:type=”basic:ANY”/>
</afp:AttributeRule>
</afp:AttributeFilterPolicy>
Once this is done, configure the plugin’s attribute mapping tab like the way we did earlier.
Thanks,
NikhilTed
# 8 years, 4 months agoNikhil,
Thanks for your reply. We will follow up and check the settings below.
Thanks,
TednIKHIL
# 8 years, 4 months agoHi Ted,
Please follow the below-mentioned steps and verify:
Open the SP metadata file (in browser) that you have used to configure shibboleth. (You might have copied it to the metadata folder of shibboleth installation)
Verify that you have the following 6 lines in the content of SP metadata:
<md:NameIDFormat>
urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
</md:NameIDFormat>
<md:NameIDFormat>
urn:oasis:names:tc:SAML:2.0:nameid-format:persistent
</md:NameIDFormat>
<md:NameIDFormat>
urn:oasis:names:tc:SAML:2.0:nameid-format:transient
</md:NameIDFormat>It might happen that you would be using the older plugin. We had replaced the new version of premium plugin in the staging instance as well when we were resolving it.
Thanks,
NikhilTed
# 8 years, 4 months agoNikhil,
Thanks for your reply, FYI – we uninstalled and reinstalled the latest Premium version (from scratch), just for the sake of doing it, because I remembered that in the course of the prior troubleshooting with our Production website, you had us do that there. So, having done that on our Development site, we’ll try and test with the information.
Thanks,
TedNikhil
# 8 years, 4 months agoTed,
Can you get the metadata for me, as outlined here?
https://ieedev.med.jhmi.edu/wp-content/plugins/miniorange-saml-20-single-sign-on/metadata.php
Thanks!
Nikhil
# 8 years, 4 months agoHi Kevin,
Please find the attached metadata.xml. It should work.
Thanks,
NikhilTed
# 8 years, 4 months agoYes, the Dev site appears to be OK.
Kevin and Nikhil – Thanks very much for all of your help, time, and efforts in also getting the Development site to work, as well. It is greatly appreciated by all.
Thanks,
Ted
The topic ‘Shibboleth Integration’ is closed to new replies.