0

Could Call Request_Auth Not In Browser

At the moment, I use C# to fetch contacts list from Yahoo and successfully
But I have a problem at step 2 when set permission for a user to fetch contatcs via url https://api.login.yahoo.com/oauth/v2/request_auth is to redirect url to login yahoo page
I try use some other way in C# to pass param(user+pass of user) to login auto via this url but no success at step set permission get contacts
The question is Could i do step request_auth via not browers?
Thanks much for any reply or suggestion

by
2 Replies
  • QUOTE (LAM @ Apr 22 2010, 03:49 AM) <{POST_SNAPBACK}>
    At the moment, I use C# to fetch contacts list from Yahoo and successfully
    But I have a problem at step 2 when set permission for a user to fetch contatcs via url https://api.login.yahoo.com/oauth/v2/request_auth is to redirect url to login yahoo page
    I try use some other way in C# to pass param(user+pass of user) to login auto via this url but no success at step set permission get contacts
    The question is Could i do step request_auth via not browers?
    Thanks much for any reply or suggestion


    The point of OAuth 1.0a is that you do not ever store or pass the user's username and password in any handshake between your application and the server.

    The only way this is possible is to direct a web browser to connect to the service provider's http server over SSL, and have the user authenticates against the service provider directly using his/her credentials, without your application ever seeing the actual credentials.
    0
  • QUOTE (joec @ Apr 22 2010, 11:54 AM) <{POST_SNAPBACK}>
    The point of OAuth 1.0a is that you do not ever store or pass the user's username and password in any handshake between your application and the server.

    The only way this is possible is to direct a web browser to connect to the service provider's http server over SSL, and have the user authenticates against the service provider directly using his/her credentials, without your application ever seeing the actual credentials.

    Thanks you for your reply
    But I think you're wrong about this problem. At the moment I could make an request https with param user+pass of user yahoo to request_auth without redirect login yahoo in my C# program . My solution ( as well solution key to make https succesfully) of here is save cookie between steps request (cookie of previous step is cookie header of next step)
    0

Recent Posts

in Contacts