Google OpenID: the page you requested is invalid

前端 未结 2 1778
难免孤独
难免孤独 2020-12-29 14:59

I\'m writing a Relying Party, and use the Google provider. Yadis leads me to https://www.google.com/accounts/o8/ud, I create an association, and redirect the user\'s browser

2条回答
  •  借酒劲吻你
    2020-12-29 15:44

    The error was literally triggered by not including the openid.claimed_id and openid.identity parameters, which must be set to "http://specs.openid.net/auth/2.0/identifier_select". With these set, I get another error, which can be resolved by also filling out openid.realm, with the same value as openid.return_to.

    Even though I also implemented RP discovery, Google does not appear to use it.

提交回复
热议问题