![]() Update: I've tried to change the store type from phpsession to sql, as explained here and it has worked perfect, but with php session still no working. I've been reading multiple possible solutions, it seems like it is a cookie setting problem in simplesaml, but I'm not sure. On the simpleamlphp test screen it works fine, but when I try to integrate it into a controller of my application with codeigniter, it doesn't work, it starts a redirect loop. '' => 'sqlite:/path/to/sqlitedatabase.sq3', 'class' => 'core:StatisticsWithAttribute', '' => \SimpleSAML\Utils\HTTP::canSetSameSiteNone() ? 'None' : null, To do so, you can use a file manager like cPanel. htaccess file, rename it, and create a new one. To double check that, you’ll need to access your hypertext access file, or the. 'en', 'no', 'nn', 'se', 'da', 'de', 'sv', 'fi', 'es', 'ca', 'fr', 'it', 'nl', 'lb', If none of the steps above have resolved the too many redirects error, then the problem is likely how redirects are set up on your server. '' => \SimpleSAML\Utils\HTTP::canSetSameSiteNone() ? 'None' : null, Infinite Redirect to login behind nginx reverse proxy in docker - Installation - Nextcloud community Infinite Redirect to login behind nginx reverse proxy in docker Installation Creideiki May 17, 2020, 5:50pm 1 Hi there, I set up a raspberry pi with two docker images: nginx and nextcloud/postgres. 'session.duration' => 8 * (60 * 60), // 8 hours. In wp-config.php add: define FORCESSLADMIN, false) In my situation, I migrated to https from http, and use plugin Rename wp-login.php My wp-config. 'database.dsn' => 'mysql:host=localhost dbname=saml', 'logging.logfile' => 'simplesamlphp.log', 'logging.processname' => 'simplesamlphp', 'logging.facility' => defined('LOG_LOCAL5') ? constant('LOG_LOCAL5') : LOG_USER, 'logging.level' => SimpleSAML\Logger::NOTICE, 'technicalcontact_email' => => 'Europe/Madrid', 'technicalcontact_name' => 'Administrator', My config.php of simplesamlphp 'simplesamlphp/', Then when I execute that code, I am redirected to the login screen of my Idp, asking for my credentials, I enter them, and it constantly loops on the screen of my Idp saml. $as = new \SimpleSAML\Auth\Simple('default-sp') Then, I've implemented a simple login test in my app like this. When I test the authentication source from simplesamlphp,It asks me for the credentials in the login screen of the Idp and it works perfect. ![]() ![]() Later, I have asked the administrator of my Idp to record my metadata in his Idp, obtained from here Once finished, it redirected me back to the page (vue component) where the button is. ![]() I've downloaded the metadata of my Idp (SAP successfactors), I've converted with the tool of simplesamlphp and I've pasted the resultant array in the file saml20-idp-remote.php. Confirmed, using Opera with the VPN set to america works, not using it redirects to the spyware opt-out page if you don't have the relevant cookie, to the login page if you have it but are not logged in, or to the dashboard if you're logged in. Button to login with google with really simple setup May 26. SetEnv SIMPLESAMLPHP_CONFIG_DIR "C:\xampp\htdocs\\vendor\simplesamlphp\simplesamlphp\config"Īlias /simplesamlphp C:\xampp\htdocs\\vendor\simplesamlphp\simplesamlphp\is configured as a hosts in my computer. SSLCertificateKeyFile "conf/ssl.key/server.key" SSLCertificateFile "conf/ssl.crt/server.crt" I have installed the simplesamlphp library with composer and I have configured the vhost of this application in this way: ĭocumentRoot "C:\xampp\htdocs\" The application must not allow going on any page if the user is not logged in, so I created a method that checks if the user is logged in, and if not it should redirect the page to the login page but I got an infinite redirection.After I've readed all the theads with possible solutions, no one has worked for me. I created a store that stores the current user. ![]()
0 Comments
Leave a Reply. |