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
I am currently experimenting with OAuth.io and I find it great so far !
Nevertheless, I have a question/feature request. Currently, the flow in my application
looks like this.
User logs in via OAuth
I get the access_token
I do a 'me' call to get the provider userId
I send the access_token and the provider userId to the server
The server can find the user with the provider userId and store the access_token
for when we need to get the friends asynchronously server-side etc...
Since we are on mobile, we want to cut down requests as much as possible. I thought that it would be more straightforward and would remove a request if I had not
to do this 'me' call from the client side. I see from the facebook doc that the oauthResponse contains the userID. Why does OAuth.io removes it from the response I get ? Would it be possible to include it in the response ?
I would be happy to make a pull request if you think it is a good idea.
Thanks a lot !
Patrick Browne
The text was updated successfully, but these errors were encountered:
Hi,
I am currently experimenting with OAuth.io and I find it great so far !
Nevertheless, I have a question/feature request. Currently, the flow in my application
looks like this.
for when we need to get the friends asynchronously server-side etc...
Since we are on mobile, we want to cut down requests as much as possible. I thought that it would be more straightforward and would remove a request if I had not
to do this 'me' call from the client side. I see from the facebook doc that the oauthResponse contains the userID. Why does OAuth.io removes it from the response I get ? Would it be possible to include it in the response ?
I would be happy to make a pull request if you think it is a good idea.
Thanks a lot !
Patrick Browne
The text was updated successfully, but these errors were encountered: