I am getting Invalid Login token error for the login request after upgrading to moodle 3.11 from 3.8
I tried with $CFG->disablelogintoken = true; , but then getting error "Unfortunately, cookies are currently not enabled in your browser"
I have added $CFG->usesid=true; after getting the cookies error, but no change.
$CFG->sslproxy = true;
$CFG->dboptions = array(
'dbpersist' => false,
'dbsocket' => false,
'dbport' => '',
'dbhandlesoptions' => false,
'dbcollation' => 'utf8_general_ci'
);
$CFG->dbtype = 'mysqli';
$CFG->dblibrary = 'native';
are already present.
My application is on AWS cloud and we have a clodfront cache before the server. If I am using non-cloudfront url, I am able to login successfully.
What could be the issue?