ZF-11853: Zend_OAuth callback URL validating if not revision 1.0a


The Zend_Oauth_Http_UserAuthorizition should validate if the endpoint supports revision 1.0a and assign a callback URL, but the check for the supported revision is doing the reverse. The method assembleParams() in Zend_Oauth_Http_UserAuthorizition checks if the endpoint does not support revision A, and if not, it adds the "oauth_callback" parameter. But, it should add this parameter if it does support the revision, or at least, it should validate if a callbackUrl is defined. The woarkround is adding the paramater "oauth_callback" to the array $customServiceParameters to make it works.


No comments to display