Closed noud closed 6 years ago
i am not sure if i should file this issue, it is more of a configuration problem i guess.
Moodle 3.5.1 plugin auth_saml2sso_moodle35_2018051500.zip
question: i guess i have the same error as Naaman Fallouh at https://moodle.org/plugins/auth_saml2sso (comments page 2)
i am able to login with phpBB/SAML and have http://moodle.localhost/ and http://moodle.localhost/simplesaml I am able to login using http://moodle.localhost/simplesaml I am able to login using http://moodle.localhost/ but after the login i get stuck in a loop:
http://saml_idp.localhost/simplesaml/saml2/idp/SSOService.php?SAMLRequest=chars&RelayState=http%3A%2F%2Fmoodle.localhost%2Flogin%2Findex.php (saml_idp.localhost is indeed my idp)
over and over again, with every time other value for chars. the idp does login, redirects to http://moodle.localhost/login/index.php again and that does contact the idp again, over and over.
I did set in http://moodle.localhost/simplesaml/config/config.php 'session.phpsession.cookiename' => 'MoodleSession',
That is the only difference from the phpbb3.localhost/simplesaml/config/config.php.
What else could be wrong? What's your first thought i should look at?
I did also put the question at https://stackoverflow.com/questions/51498285/moodle-and-saml2-sso-auth-plugin-loops
thank you.
Forget about this, i used sql for session and now all is fine.
i am not sure if i should file this issue, it is more of a configuration problem i guess.
Moodle 3.5.1 plugin auth_saml2sso_moodle35_2018051500.zip
question: i guess i have the same error as Naaman Fallouh at https://moodle.org/plugins/auth_saml2sso (comments page 2)
i am able to login with phpBB/SAML and have http://moodle.localhost/ and http://moodle.localhost/simplesaml I am able to login using http://moodle.localhost/simplesaml I am able to login using http://moodle.localhost/ but after the login i get stuck in a loop:
http://saml_idp.localhost/simplesaml/saml2/idp/SSOService.php?SAMLRequest=chars&RelayState=http%3A%2F%2Fmoodle.localhost%2Flogin%2Findex.php (saml_idp.localhost is indeed my idp)
over and over again, with every time other value for chars. the idp does login, redirects to http://moodle.localhost/login/index.php again and that does contact the idp again, over and over.
I did set in http://moodle.localhost/simplesaml/config/config.php 'session.phpsession.cookiename' => 'MoodleSession',
That is the only difference from the phpbb3.localhost/simplesaml/config/config.php.
What else could be wrong? What's your first thought i should look at?
I did also put the question at https://stackoverflow.com/questions/51498285/moodle-and-saml2-sso-auth-plugin-loops
thank you.