too many redirections after authentication with saml login

too many redirections after authentication with saml login

by Saurabh Pandey -
အကြောင်းပြန်မှု အရေအတွက်: 2

Hi Guys,

My application was running from 2 years but now I am getting too many redirection error on my application after saml login. I am able to login with saml=off. I checked from admin saml is authenticated but when I open the page it does not work. 

My page keeps redirecting between login/index.php and user/edit.php. Please suggest why this has been happening. Thanks.

ပျှမ်းမျှအဆင့်သတ်မှတ်ချက်များ: -
Saurabh Pandey ထံသို့ အကြောင်းပြန်ရာတွင်

Re: too many redirections after authentication with saml login

by Leon Stringer -
Core developers ၏ ရုပ်ပုံ Particularly helpful Moodlers ၏ ရုပ်ပုံ

Metadata expiry is the most common cause of SAML authentication suddenly breaking in my experience. Maybe the IdP or SP is signing messages with a certificate which had two years' validity.

Try updating the SP (i.e. Moodle) with the current IdP metadata.

Is the IdP still working with other SPs?

If there are still problems please tell us more about the environment, e.g. the Moodle version and which SAML authentication plugin is in use.

Leon Stringer ထံသို့ အကြောင်းပြန်ရာတွင်

Re: too many redirections after authentication with saml login

by Saurabh Pandey -

Hi, thanks for responding. I have updated metadata. I checked from admin panel with saml plugin test settings, user is authenticated with nameid attribute, But still getting error too many redirections.