tripit / api

TripIt's API Documentation and Support Forum
http://www.tripit.com/developer
Other
47 stars 16 forks source link

Unable to obtain user authorization #223

Closed mcarbaugh closed 2 years ago

mcarbaugh commented 6 years ago

I have successfully generated a token (Oauth Step 1) using the consumer key/secret but I am having trouble redirecting to:

[https://www.tripit.com/oauth/authorize?oauth_token=&oauth_callback=]

As far as I can tell, I've followed the documentation exactly. Is there an additional step I have to take to make the redirect link work?

Thanks in advance.

This is the message I see in the window: image

mcarbaugh commented 6 years ago

Issue appears to be returning a 102.6 error code.

gazure commented 6 years ago

102.6 means we couldn't find the request token at authorization time, the most common cause would be attempting to authorize the request token more than 5 minutes after requesting it (request tokens are only valid for 5 minutes).

If you're getting this error and you know that the request token and secret is less than 5 minutes old, feel free to email us at api-support@tripit.com with your specific account info (oauth consumer name, account email, request tokens, etc.) and we might able to dig through logs for your situation.

mcarbaugh commented 6 years ago

@gazure thank you for the response.

The original issue I ran into was unrelated to the 102.6 error code. I simply forgot to include an appropriate protocol in the oauth callback url. I thought the issue was oauth related. All fixed!

gazure commented 6 years ago

Glad you got it fixed!