Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update readme to mention that maybe it's necessary to be logged in now #2

Open
colobas opened this issue Nov 10, 2020 · 3 comments
Open
Assignees

Comments

@colobas
Copy link

colobas commented Nov 10, 2020

Hi. I can't get an access token. I checked the code, and from what I understand the flow is:

  1. with the consumer key, request a request_token
  2. user auths with the given request_token on the browser
  3. after user authenticates, request an access_token

I tried reproducing this flow manually (calling all the involved functions by hand) and it's clear that the problem arises when requesting the access_token, the response is always a 403 (forbidden).

Is it possible that the authentication flow of Pocket changed and the authentication of the request_token isn't complete? I checked the authorized apps on my pocket profile and the app is listed there, so it's weird to me that we're getting this 403

@colobas
Copy link
Author

colobas commented Nov 10, 2020

I just noticed the X-Error-Code is 158, which according to the docs means "User rejected code"

@colobas
Copy link
Author

colobas commented Nov 10, 2020

Ok after trying a while I did get it to work, but not from a logged-out user. I had to be logged-in.

@colobas colobas closed this as completed Nov 10, 2020
@alphapapa
Copy link
Owner

Maybe that means that they fixed a bug on their end, because as it says in the readme, it used to only work when logged out. sigh I guess I'd better update the readme...

@alphapapa alphapapa reopened this Nov 10, 2020
@alphapapa alphapapa changed the title Can't get access token, always get 403 Update readme to mention that maybe it's necessary to be logged in now Nov 10, 2020
@alphapapa alphapapa self-assigned this Nov 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants