Coming soon - Get a detailed view of why an account is flagged as spam!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

9
401 Unauthorized with new access token
Post Flair (click to view more posts with a particular flair)
Author Summary
reddit2mastodon is age 40
Post Body

Starting 3 days ago my reddit bots stopped working. I started investigating today and the reason seems to be, that the access tokens I get are not valid.

I am using php with the libraries:

  • league/oauth2-client
  • rtheunissen/oauth2-reddit

I have no problem authorizing my app, but I cannot even call https://oauth.reddit.com/api/v1/me, it always results in

401: Client error: GET https://oauth.reddit.com/api/v1/me resulted in a 401 Unauthorized

With a www-authenticate header like this:

Bearer realm="reddit", error="invalid_token"

Even though the token has just been issued by reddit.

The authorization url is: https://ssl.reddit.com/api/v1/authorize And the access token url is: https://ssl.reddit.com/api/v1/access_token

Has anybody a clue to whats going on? As I said it started about 3 days ago and worked like a charm before that

Author
Account Strength
50%
Account Age
2 years
Verified Email
Yes
Verified Flair
No
Total Karma
8
Link Karma
6
Comment Karma
2
Profile updated: 2 days ago

Subreddit

Post Details

Age
40
We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago