Hi,
I have moodle working in iframe, but I can't login into it - after Log in button action the pages just refreshes
(even with correct login and password). Login as a guest doesn't work too.
Without iframe (direct authorization on moodle site) all works well.
How can I solve this issue?
Both sites (moogle and where iframe is) are https.
Thanks!
Thanks for the proposition, debug information under the page shows "You are not logged in." (after attempt of authorization from iframe)
In journal - Login failed for user '***'. Most likely the password did not match (error ID '3').
But same login and password were used for authorization - both directly and from iframe.
debug
In journal - Login failed for user '***'. Most likely the password did not match (error ID '3').
But same login and password were used for authorization - both directly and from iframe.
debug
Here is the true issue I think (from Chrome) -
A cookie associated with a cross-site resource at https://dream-grower.com/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`.
Is it possible to configure SameSite=None in Moodle?
I think it is related to
https://tracker.moodle.org/browse/MDL-67175
A cookie associated with a cross-site resource at https://dream-grower.com/ was set without the `SameSite` attribute. It has been blocked, as Chrome now only delivers cookies with cross-site requests if they are set with `SameSite=None` and `Secure`.
Is it possible to configure SameSite=None in Moodle?
I think it is related to
https://tracker.moodle.org/browse/MDL-67175
and
https://github.com/moodle/moodle/compare/master...samhemelryk:MDL-67175/master/SameSite
But do you have an idea how it's possible to get authorisation working from within iframe?
https://github.com/moodle/moodle/compare/master...samhemelryk:MDL-67175/master/SameSite
But do you have an idea how it's possible to get authorisation working from within iframe?
You should be able to confirm all that in your web server's (Javascript) console.
I have the same problem, did you got a solutions???
Thanks.
Thanks.
I got the same issue, did you got the solution for this.
Yes, if you upgrade to Moodle 3.8+ should work, fine. In Safari browser just need to tell your users that the need to change their security setting.
Thanks,
Ramon
Thanks, Ramon for the reply.
This is resolved we have enabled the cookies in the IOS APP.
Regards,
Vidish
errorcode 3 is just an invalid login.