I've been trying to setup OAuth2 on a moodle website but I keep getting session timeouts.
- What version of Moodle is this (it's in the version.php file or the Site administration > Notifications page at the bottom)? 4.1.2
- If you've had an error message, what is it? Please copy and paste it exactly? "Your session has most likely timed out"
- What is your operating system, what web server are you using, Ubuntu 20.04, Apache2 2.4.41(followed moodle install guide)
- what database and what are the versions of everything (including PHP)? mysql 8.0.28
- How was Moodle installed - especially if you used the likes of Softaculous, Bitnami etc. (clue - *don't* use these installers!) Used moodle guide on vanilla ubuntu install
- Check https://docs.moodle.org/dev/Releases. Is your version of Moodle supported? If it's not completely broken, consider upgrading. ALWAYS take a full backup first. Yes, and it's backed up
- What did you do? What instructions did you follow? What did you expect ? What went wrong? I followed the instructions here: https://docs.moodle.org/402/en/OAuth_2_authentication but the result i'm getting is a session timed out. I've tested with an incorrect password and that does show up. I'm not able to log in using IBM Auth service. Works with Wordpress though
- If it was working and now it isn't. What changed? Something did - even if it doesn't seem connected or relevant. It's never worked and I'm trying to get it working
- Turn on debugging, check your logs. See the following section on Debugging... Nothing shows up in the logs afaik.
- If you are talking about a system (of any description) that is not Moodle you may want to give links and/or a brief explanation. We don't all live in the same country or work in the same field.
I'm using IBM auth and I can tell it's setup but I cannot get past the session timeout so I cannot login as another user: