The problem ocurred while implementing the Auth2.0 Server β module to allow signing into Moodle through Drupal. When trying to redirect the user to the customized login, using the Anonymous Login β module an error ocurred.
The error was that a missing parameter which was being lost through the redirects (sesskey). Through further investigation I realized that the parameters being passed as the redirected URL were not being encoded.
To use the php function urlencode()
when creating the redirect URL.
- $request->getQueryString()
+ urlencode($request->getQueryString())
Needs work
2.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.