You can set the oauth_callback parameter dynamically, like this:

OAuthServiceProvider provider = ... // not including oauth_callback
String callbackURL = ...
String authorizationURL =
OAuth.addParameters(provider.userAuthorizationURL,
  OAuth.OAUTH_CALLBACK, callbackURL);
// Next, direct the user's browser to the authorizationURL.

On Apr 24, 9:13 pm, vasya10 <vasy...@gmail.com> wrote:
> Unfortunately since my callback url is different at different entry
> points, Im unable to set the oauth_callback url in the authorization
> url dynamically since OAuthService must be static. Is there an
> alternative to this issue?

-- 
You received this message because you are subscribed to the Google Groups 
"OAuth" group.
To post to this group, send email to oa...@googlegroups.com.
To unsubscribe from this group, send email to 
oauth+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/oauth?hl=en.

Reply via email to