Title: Requests loop
Last modified: September 27, 2017

---

# Requests loop

 *  [mihannsell](https://wordpress.org/support/users/mihannsell/)
 * (@mihannsell)
 * [8 years, 6 months ago](https://wordpress.org/support/topic/requests-loop/)
 * Hi,
    as in the topic I get redirection loop with IdP. I managed to find out that
   it happens here: `$this->provider->requireAuth( array('ReturnTo' => $_SERVER['
   REQUEST_URI'], ) );`
 * Seems to me that after logging in on IdP side the simplesamlphp does not see 
   me as logged in.
    IdP thinks that I’m logged in. Sp thinks that I’m not. So SP
   always asks IdP if I’m logged, always get response that I am, then checks within
   simpleSamlPhp an it turns out that authData array is empty.

The topic ‘Requests loop’ is closed to new replies.

 * ![](https://ps.w.org/wp-saml-auth/assets/icon-256x256.png?rev=3348767)
 * [WP SAML Auth](https://wordpress.org/plugins/wp-saml-auth/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-saml-auth/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-saml-auth/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-saml-auth/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-saml-auth/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-saml-auth/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [mihannsell](https://wordpress.org/support/users/mihannsell/)
 * Last activity: [8 years, 6 months ago](https://wordpress.org/support/topic/requests-loop/)
 * Status: not resolved