X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=actions%2Faccesstoken.php;h=46b43c70216e106a5722434c38f365d56c0d3cc5;hb=b4e649fe906a793cd5e62d6390065ea5d41c40db;hp=77fdf6aefa7012ab120c2c624df8c8be78807aa4;hpb=d06a929d703e0ad776230234b3d821a83f22d492;p=quix0rs-gnu-social.git diff --git a/actions/accesstoken.php b/actions/accesstoken.php index 77fdf6aefa..46b43c7021 100644 --- a/actions/accesstoken.php +++ b/actions/accesstoken.php @@ -59,7 +59,7 @@ class AccesstokenAction extends Action try { common_debug('getting request from env variables', __FILE__); common_remove_magic_from_request(); - $req = OAuthRequest::from_request(); + $req = OAuthRequest::from_request('POST', common_local_url('accesstoken')); common_debug('getting a server', __FILE__); $server = omb_oauth_server(); common_debug('fetching the access token', __FILE__);