Is google generating new openid claimed identifier for localhost?

后端 未结 2 1079
醉酒成梦
醉酒成梦 2021-01-13 07:26

I am running an issue with google openid identifier. I am using dotnetopenauth library (successor of dotnetopenid) in simple asp.net mvc project. During tests on localhost

2条回答
  •  离开以前
    2021-01-13 07:46

    Google OP creates a unique and "anonymous"-looking Claimed Identifier for each user-RP Realm combination. (it is not based on the domain, but the full RP realm, or at least more of it than just the domain). Port number is part of the realm URI, so if your site on localhost changes port numbers occasionally as VS can do without warning, your claimed id will change. Also, if you set up your site to make your claimed_id an "admin" in development, it won't be the correct admin claimed_id in production since the realm will be different.

提交回复
热议问题