Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is google generating new openid claimed identifier for localhost?

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 I noticed that from time to time google generates new claimed identifier. Why is that? Is it just with localhost? Everything looks okay with different providers (like Yahoo)

like image 659
mike Avatar asked Jun 23 '09 08:06

mike


1 Answers

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.

like image 94
Andrew Arnott Avatar answered Sep 22 '22 16:09

Andrew Arnott