-
Notifications
You must be signed in to change notification settings - Fork 0
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
getIdentities() returns Error #1
Comments
Further investigation. Identities do actually return but the result is not [{
"id": an int,
"url": "https://www.facebook.com/app_scoped_user_id/someid/",
"username": "Nick Velloff",
"provider": "facebook",
"icon": "facebook",
"description": "Identity only",
"image": null,
"location": null,
"bio": null,
"canRemove": true
}, {
"id": an int,
"url": "https://github.com/nickvelloff",
"username": "nickvelloff",
"provider": "github",
"icon": "github",
"description": "Identity only",
"image": "https://avatars.githubusercontent.com/u/885369?v=3",
"location": "San Francisco, CA",
"bio": null,
"canRemove": true
}, {
"id": an int,
"url": "https://github.com/nickvelloff",
"username": "nickvelloff",
"provider": "github_public",
"icon": "github",
"description": "Public repository access",
"image": null,
"location": null,
"bio": null,
"canRemove": true
}] |
Additionally the requests for |
You have a provider with a value of |
This suggests that when you obtained the access token you're using, the scopes |
Indeed these scopes are not present. I suppose we need to ask for these scopes if we want them. |
I don't know how to proceed resolving this. Likely many users could have this issue unless I'm an edge case having had my Passport account so long. |
I think this is probably a bug in the API. @trustmaster would you agree? That this should be |
FWIW, the descriptions for |
|
@trustmaster Must |
@nickvelloff If you want to be able to call |
I'm not sure why the iOS or generally a mobile client would need this, so unless @paulyoung you think otherwise we shouldn't request it. Thanks @trustmaster! |
@nickvelloff in terms of The Grid, not right now. |
The missing providers were added in the-grid/Disc@d2f288b and this demo project was update to use that version. |
I may be just doing it wrong but the
User
andUser(id)
return, identities do not. Thetoken
I am using is provided by Passport.The current user is Nick Velloff
Error, getIdentities(): TypeMismatch(Expected .Some(Provider), got .None)
Error, getPrivateGitHubToken(): Bad request: 403
Error, getPublicGitHubToken(): Bad request: 403
The user with id
a UUID
is Nick VelloffError, deleteIdentity(-1): Bad request: 404
The text was updated successfully, but these errors were encountered: