You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like access_token is needed, and requires an implicit OAuth 2.0 flow (or that seems the easiest). I get xtackapi.stackapi.StackAPIError: ('https://api.stackexchange.com/2.2/sites/?pagesize=1000&page=1&filter=xxx&key=xxx&access_token=asdf', 403, 'access_denied', 'keyis not valid for passedaccess_token, token not found (does not exist).') without it
I ended up:
Having to enable Enable Client Side OAuth Flow
Creating a link like https://stackoverflow.com/oauth/dialog?client_id=[client_id]&scope=private_info,no_expiry&redirect_uri=https://stackexchange.com according to the auth docs
Getting the access_token from the return hash in the browser
It's verbose to add all of that to the README.md, but may be nice to specify you'll have to manually do the OAuth 2.0 flow yourself. Either in browser or Insomnia or something
The text was updated successfully, but these errors were encountered:
Cobertos
changed the title
Update documentation to note access_token is not needed?
Update documentation on how to get access_token?
Mar 9, 2021
It seems like access_token is needed, and requires an implicit OAuth 2.0 flow (or that seems the easiest). I get
xtackapi.stackapi.StackAPIError: ('https://api.stackexchange.com/2.2/sites/?pagesize=1000&page=1&filter=xxx&key=xxx&access_token=asdf', 403, 'access_denied', '
keyis not valid for passed
access_token, token not found (does not exist).')
without itI ended up:
Enable Client Side OAuth Flow
https://stackoverflow.com/oauth/dialog?client_id=[client_id]&scope=private_info,no_expiry&redirect_uri=https://stackexchange.com
according to the auth docsIt's verbose to add all of that to the README.md, but may be nice to specify you'll have to manually do the OAuth 2.0 flow yourself. Either in browser or Insomnia or something
The text was updated successfully, but these errors were encountered: