How to add logout feature to an OpenID enabled site?

后端 未结 9 1733
情书的邮戳
情书的邮戳 2020-12-14 07:36

I have recently added OpenID login to my website. But I don\'t know how to add the logout feature.

For example, on clicking the Sign In button I am able to show the

9条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-14 08:08

    Individual OpenID providers offer different URLs for logout to which the user can be redirected.

    Google: https://www.google.com/accounts/Logout

    Yahoo: https://login.yahoo.com/config/login?logout=1

    There has been discussion of allowing OPs to provide these URLs as a part of the standard; see this discussion on the OpenID mailing list.

提交回复
热议问题