too many redirections after authentication with saml login

too many redirections after authentication with saml login

door Saurabh Pandey -
Aantal antwoorden: 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.

Gemiddelde van de beoordelingen:  -
Als antwoord op Saurabh Pandey

Re: too many redirections after authentication with saml login

door Leon Stringer -
Foto van Core developers Foto van 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.

Gemiddelde van de beoordelingen:  -
Als antwoord op Leon Stringer

Re: too many redirections after authentication with saml login

door 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.

Gemiddelde van de beoordelingen:  -