OpenID Connect delegation with Google now that they are deprecating their OpenID2 provider?

后端 未结 3 1712
醉酒成梦
醉酒成梦 2020-12-14 15:22

For years I have used OpenID delegation to log in to Stack Overflow (among other sites) using my own URI as OpenID but having Google handle the authentication. I use the te

3条回答
  •  时光取名叫无心
    2020-12-14 16:03

    Assuming that you want to use your own domain as the user supplied login identifier --

    1. Go to https://stackoverflow.com/users/login-add?returnUrl=%2Fusers%2Fcurrent and Add a login using Google. This will add Google OpenID Connect identifier to your account.
    2. Host OpenID Connect discovery document at your domain (see http://openid.net/specs/openid-connect-discovery-1_0.html#URLSyntax for details.)
    3. Wait till StackOverflow start supporting OpenID Connect discovery
    4. Use http://tupelo-schneck.org/robert as the user identifier

    In addition, if StackOverflow supports OpenID Connect Migration 1.0, and assuming that Google returns your custom domain claimed_id in the Migration response, then:

    1. Host the JSON document as described in http://openid.net/specs/openid-connect-migration-1_0.html#VerifyOPAuthority in your domain.

    would smooth your way.

提交回复
热议问题