Wordpress - miniOrange SSO using SAML 2.0 plugin - How to fix logout for FusionAuth
Reason issue: wrong NameID format
<saml:NameID xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion">
Fixing: use another NameID format
<saml:NameID Format="urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress">
It is placed in Utilities.php file on 59 line, the function called createLogoutRequest.
There is another issue - all text is encrypted via ASCII codes. Easy to solve this problem: just copy this text and paste into echo with double quotes.
For example:
echo "\74\77\x78\x6d\x6c\40\166\x65\x72\163\151\x6f\x6e\x3d\42\x31\x2e\x30\x22
\x20\x65\x6e\x63\157\x64\x69\x6e\147\x3d\42\x55\124\x46\x2d\x38\x22\x3f\76";
On the page it will be:
<?xml version="1.0" encoding="UTF-8"?>
So, after that, you can decode all text what you need to replace LogoutRequest.
Comments