OAuth2 error

OAuth2 error

by Ryan Egbert -
Number of replies: 1
Hello All,

I have an issue with a custom OAuth2 service. It seems like everything is working on their end with authentication, but when it gets redirected to my site it gives them a "Your session has most likely timed out. Please log in again." error. Any ideas on what could be causing this?

Thank you in advance for any assistance that can be provided!
Average of ratings: -
In reply to Ryan Egbert

Re: OAuth2 error

by Leon Stringer -
Picture of Core developers Picture of Particularly helpful Moodlers

There should be a URL-encoded sesskey parameter in the callback URL that the OAuth 2 service uses to redirect the browser back to Moodle. Is this present? See this reply for more details.