when using a static redirect uri, or one which does not depend on the current URL of the script it works like a charm.
the problem is, that the oauth client redirect to itself and appends some parameter which slip into the redirect_uri when defined like above.
How to work arround this problem? could the oauth_client_class define a helper method which would strip all oauth related params from a given url, so one could define a redirect_uri like 'http://'.$_SERVER['HTTP_HOST'].$_SERVER['REQUEST_URI']; ?
Manuel Lemos - 2013-05-31 15:37:23 - In reply to message 3 from Markus S.
You should use whatever works for you, just not $_SERVER['REQUEST_URI'] because it will include request parameters that will be duplicated by the class when it appends the parameters needed by the OAuth protocol.