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
https://api.metacpan.org/user sometimes returns {} for logged in users. #256
Comments
like the others I have not logged out/in in a long time... |
While my |
Because it's completely independent from metacpan.org which uses an access token and not the api.metacpan.org cookie (which wouldn't work anyway) Sent from my iPhone On Mar 22, 2013, at 12:34 PM, Randy Stauner notifications@github.com wrote:
|
I can also update my profile through the website... I guess I'm not understanding what the api user token is for. |
that's just OAuth. If you work on a website that uses Facebook for auth, you don't have to be logged into facebook after you authenticated once to use that page. Same with api.metacpan.org I guess the right thing to do is to have metacpan.org show the access_token plus the possibility to create new access_tokens for CLI use. |
Not seen this as an issue in a while... Closing as part of Nov 2014 cleanup |
@ranguard, @rwstauner and @grantm have all confirmed that the /user endpoint returns an empty hashref for them. @grantm reported that he got data after re-logging in to metacpan. The cog icon was visble to all (I believe) at the point when they were getting no data.
On a related note, it looks like it always returns {} if the URL is not under SSL, so maybe we should return a helpful message under plain HTTP.
The text was updated successfully, but these errors were encountered: