uhm-coe / authorizer

Authorizer is a WordPress plugin that uses Google, CAS, LDAP, or an OAuth2 provider for logins, and can prevent public access to a WordPress site. It also blocks repeated failed login attempts.
GNU General Public License v3.0
65 stars 39 forks source link

ERR_TOO_MANY_REDIRECTS With CAS #163

Closed wixaw closed 2 months ago

wixaw commented 2 months ago

Hello I have "ERR_TOO_MANY_REDIRECTS" every time I make a new connection with CAS 3 ( apereo) and 2 seconds later it redirects to the site, any idea?"

image Thanks

figureone commented 2 months ago

Weird. I'm not as familiar with the handshake process in the older CAS protocols, have you tried switching to one of the newer protocols and seeing if the behavior changes? Hard to say what the CAS server you are using supports.

Screenshot 2024-09-11 at 9 36 10 AM
wixaw commented 2 months ago

Sorry, I was wrong, I did set CAS 3.0

wixaw commented 2 months ago

Well, in reality, the problem did seem to come from that. Indeed, I had a difference between my production site and the development one; one was on 2.0 and the other on 3.0. And with the 'CAS behind a proxy' option, it seems that the problem is no longer there and the initial connections are faster! Thank you very much for the lead. Edit: CAS behind a proxy : broke new connexion, i revert that