SAML-Toolkits / wordpress-saml

OneLogin SAML plugin for Wordpress
MIT License
65 stars 74 forks source link

Getting Unable to extract public key on wp-login.php?saml_acs #79

Closed alimohamed-moussa closed 4 years ago

alimohamed-moussa commented 4 years ago

I'm trying to connect to my wordpress website with onelogin saml plugin. When i click on "saml login" link, it goes back to my IDProvider login form.

When i login, it works but it redirects me to my WordPress website (mysitedomain/wp-login.php?saml_acs) with this error " Unable to extract public key There was at least one error processing the SAML Response: invalid_response Contact the administrator ".

I use the SAML Tracer extension to inspect the request and the IDprovider response is success and i can see my access informations from the ID provider. But for some reasons i get an error on wp-login.phpsaml_acs part.

Can someone help? Please

sandykadam commented 4 years ago

This means the 509 key is different on your SAML WP configuration and the one on the SAML IDP provider. Key must be same on both end.

Another tip to login if you don't want the provider login is just just change the param wp-login.php?normal this will give you wordpress login screen.

alimohamed-moussa commented 4 years ago

Thank you