The library generates the url to use when checking the signature by looking at the $_SERVER['HTTPS'] variable.
That's not always correct when a proxy server is in play. We can also use the X-Forwarded-Proto header to determine scheme.

When a drupal site is behind a separate server that does SSL
termination, it can get confused about whether the signed URL
should be https or not. SSL termination or proxy servers add the
X-Forwarded-Proto header to indicate the original request's scheme.

CommentFileSizeAuthor
#2 oauth-x-forwarded-proto-3015132-1.patch1.4 KBejegg
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

ejegg created an issue. See original summary.

ejegg’s picture