store URL rather than service in $omb for bounce back
darcs-hash:20080606063721-84dde-a843ac9ef5b48aa25d15125d4f0be3f0c2e6bfb1.gz
This commit is contained in:
parent
9136d18327
commit
15989d6c35
@ -194,7 +194,7 @@ class FinishremotesubscribeAction extends Action {
|
||||
|
||||
common_debug('using request token "'.$tok.'"', __FILE__);
|
||||
|
||||
$url = omb_service_uri($omb[OAUTH_ENDPOINT_ACCESS]);
|
||||
$url = $omb['access_token_url'];
|
||||
|
||||
common_debug('using access token url "'.$url.'"', __FILE__);
|
||||
|
||||
|
@ -311,6 +311,8 @@ class RemotesubscribeAction extends Action {
|
||||
$omb['listenee'] = $user->nickname;
|
||||
$omb['token'] = $token;
|
||||
$omb['secret'] = $secret;
|
||||
# call doesn't work after bounce back so we cache; maybe serialization issue...?
|
||||
$omb['access_token_url'] = omb_service_uri($omb[OAUTH_ENDPOINT_ACCESS]);
|
||||
|
||||
$_SESSION['oauth_authorization_request'] = $omb;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user