WordPress asks for password
-
Hi,
I’m not an expert on SAML or SSO and (after a couple of days of research) I’m trying to configure a connection with an external idp through SAML in WordPress. I’ve testing all plugins and this seems to be the best option for me.
I have two problems, first is that when I enter the idp data (having de sp configured) and go to the admin, I can see the idp login page but when I login, an exception is shown saying UNHANDLED EXCEPTION:
Backtrace:
0 /home/test1/www/test2/wp-content/plugins/saml-20-single-sign-on/saml/www/module.php:180 (N/A)
Caused by: sspmod_saml_Error: Requester/InvalidNameIDPolicy: Cannot provide requesed name identifier with format urn:oasis:names:tc:SAML:2.0:nameid-format:persistent for the given subject
Backtrace:
3 /home/test1/www/test2/wp-content/plugins/saml-20-single-sign-on/saml/modules/saml/lib/Message.php:371 (sspmod_saml_Message::getResponseError)
2 /home/test1/www/test2/wp-content/plugins/saml-20-single-sign-on/saml/modules/saml/lib/Message.php:498 (sspmod_saml_Message::processResponse)
1 /home/test1/www/test2/wp-content/plugins/saml-20-single-sign-on/saml/modules/saml/www/sp/saml2-acs.php:75 (require)
0 /home/test1/www/test2/wp-content/plugins/saml-20-single-sign-on/saml/www/module.php:135 (N/A)That error is showed when I try to connect to the final idp, but it may be caused by the idp configuration so i didnt give up and I have been trying with some other idps only for testing until I found one that seems to work better. Now I see the idp login page, I log in (I told the idp to send me the username attribute) but after redirecting wordpress says that I have to enter a password :(.
I don’t know if this is because of this WordPress version or maybe I didn’t understand how this might work. I think that if you login in the idp form, and the idp redirects to the wordpress admin (because you did a good login), the user might be logged in directly on WordPress right??
Well… I would appreciate any kind of help… I’m going crazy with this.
Thanks
https://www.ads-software.com/plugins/saml-20-single-sign-on/
- The topic ‘WordPress asks for password’ is closed to new replies.