Adds API support for TradeStation #339

wants to merge 1 commit into


None yet

2 participants


No description provided.

@johnjelinek johnjelinek commented on the diff Dec 20, 2012
@@ -28,6 +28,7 @@ public OAuth20ServiceImpl(DefaultApi20 api, OAuthConfig config)
public Token getAccessToken(Token requestToken, Verifier verifier)
OAuthRequest request = new OAuthRequest(api.getAccessTokenVerb(), api.getAccessTokenEndpoint());
+ request.addQuerystringParameter(OAuthConstants.GRANT_TYPE, OAuthConstants.AUTHORIZATION_CODE);
johnjelinek Dec 20, 2012

@fernandezpablo85 I needed to modify this to get the an access token from our API. The OAuth2 spec says to that grant_type=authorization_code is a required parameter.


@fernandezpablo85 why did this get rejected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment