michaelryanmcneill / shibboleth

Shibboleth plugin for WordPress
https://wordpress.org/plugins/shibboleth/
21 stars 12 forks source link

401 Authorization Required error after upgrade from 1.8.1 to 2.0.2, revert doesn't fix #30

Closed scott8035 closed 6 years ago

scott8035 commented 6 years ago

Hi all. I'm working with a new client who set up a dev box for me with Shibboleth 1.8.1 installed. Everything worked. I backed everything up with All In One WP Migration, then updated Shibboleth to current (2.0.2). Now I get a 401 Authorization Required error for both front- and back-ends.

I restored the original 1.8.1 version, but it has no impact on the error. Unfortunately, I need a working version of wordpress to use the All In One WP Migration plugin to do a recovery...and now I can't.

Any ideas how to get out of this mess?

image

jrchamp commented 6 years ago

Perhaps the .htaccess file was updated.

scott8035 commented 6 years ago

You are indeed correct. I commented out the lines related to Shibboleth auth and everything is working fine. Thank you!

---scott

Contact info: scott8035@gmail.com | 414-469-8241 | LinkedIn http://www.linkedin.com/in/scottthomason

On Tue, Jan 23, 2018 at 9:46 PM, Jonathan Champ notifications@github.com wrote:

Perhaps the .htaccess file was updated.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/michaelryanmcneill/shibboleth/issues/30#issuecomment-360012241, or mute the thread https://github.com/notifications/unsubscribe-auth/AEM5UUT8u7G_lXgl17v61PabUAZpUEcuks5tNqeOgaJpZM4RqiFa .

jrchamp commented 6 years ago

@scott8035 The normal .htaccess changes are not supposed to prevent access. It should be these two lines:

AuthType shibboleth
Require shibboleth

If it is those two, I wonder if this would fix the issue:

AuthType shibboleth
ShibRequestSetting requireSession false
Require shibboleth

If it is not those two, could you provide the lines that you commented?

michaelryanmcneill commented 6 years ago

Thanks for your help on this one @jrchamp!

scott8035 commented 6 years ago

Sorry for the delay. Yes, it was the AuthType and Require lines like you say. Commented those out and now I'm Shibboleth-free for the moment. Thank you!

---scott

Contact info: scott8035@gmail.com | 414-469-8241 | LinkedIn http://www.linkedin.com/in/scottthomason

On Wed, Jan 24, 2018 at 9:08 AM, Jonathan Champ notifications@github.com wrote:

@scott8035 https://github.com/scott8035 The normal .htaccess changes are not supposed to prevent access. It should be these two lines:

AuthType shibboleth Require shibboleth

If it is those two, I wonder if this would fix the issue:

AuthType shibboleth ShibRequestSetting requireSession false Require shibboleth

If it is not those two, could you provide the lines that you commented?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/michaelryanmcneill/shibboleth/issues/30#issuecomment-360164473, or mute the thread https://github.com/notifications/unsubscribe-auth/AEM5UbYOwwvWOrJEzcSlcjEsnXyeg5gXks5tN0dagaJpZM4RqiFa .