0

How to log user out?

Please advise me on how to log user out of Flickr and Yahoo account.

I use Java Flickr API and OAuth to let user log into my web site and view his Flickr Photosets. When user decides to leave my web site and clicks on Logout link I logout user of my web site no problem. But because Flickr sets its cookies user is still logged in into Flickr account. I need to log him out.

Please advise me how it is done? How do you implement user logout with Flickr or Yahoo when allowing user to login your application with OAuth?

Thank you very much!

by
3 Replies
  • Hi Sergey,

    To sign the user out of Yahoo!, you can ask the user to follow
    the link:
    https://login.yahoo.com/config/login?logout=1

    To sign the user out of Flickr, you can probably ask on
    the Flickr support forum:
    http://www.flickr.com/help/forum/
    as I don't have answer for it.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • Yu Wang,

    Thank you very much for your message!

    Is there a way to log user out by making a call to a Yahoo web service end point? It is not very user friendly to ask user to click two links in order for him to log out of my web site. I would like to make logout a one mouse click action for user. User clicks on Logout link and gets logged out of Yahoo, his account on my web site and is then redirected to the main page of my web site. To achieve this I believe I need to make Yahoo logout a background HTTP request.

    Please advise me if there is a web service end point I can call? Is there a documentation to learn how to do that?

    Thank you very much for your support and I am waiting to hear back from you.

    Sergey


    QUOTE (omiga @ Nov 2 2010, 03:52 PM) <{POST_SNAPBACK}>
    Hi Sergey,

    To sign the user out of Yahoo!, you can ask the user to follow
    the link:
    https://login.yahoo.com/config/login?logout=1

    To sign the user out of Flickr, you can probably ask on
    the Flickr support forum:
    http://www.flickr.com/help/forum/
    as I don't have answer for it.

    Thanks,
    Yu Wang
    Yahoo! Membership Team
    0
  • Hi Sergey,

    Unfortunately we don't provide any WS API to logout the user.
    You may consider using a hidden iframe that loads the Yahoo!
    logout URL to log the user out.

    Thanks,
    Yu Wang
    0

Recent Posts

in OAuth General Discussion YDN SDKs