sreg

OpenID Simple Registration (sreg) vs. Attribute Exchange (ax)

巧了我就是萌 提交于 2019-12-09 09:18:57
问题 What is the relationship between the OpenID sreg and ax extensions? How does a relying party know which one to request, or both? 回答1: sreg was written as the Simplest Thing that could Possibly Work, and has a very limited set of fields available. But since that includes nickname , email , and fullname , that's often all you need. Attribute Exchange is much more extensible and featureful, although I suspect in practice features like the update_url and store request have not been widely

JanRain OpenID in PHP SREG?

南楼画角 提交于 2019-12-06 08:53:00
问题 I setup the demo with a modified login I found called open-id selector. the login works fine and the identity url comes back, but the SREG data I ask for is never populated, required or optional. I am logging into my page with a gmail account. Here is the code from my try_auth.php that I edited $sreg_request = Auth_OpenID_SRegRequest::build( // Required array('email'), // Optional array('fullname', 'gender', 'timezone', 'dob', 'country')); what gives? 回答1: Google's OpenID identity provider

JanRain OpenID in PHP SREG?

半腔热情 提交于 2019-12-04 11:58:39
I setup the demo with a modified login I found called open-id selector. the login works fine and the identity url comes back, but the SREG data I ask for is never populated, required or optional. I am logging into my page with a gmail account. Here is the code from my try_auth.php that I edited $sreg_request = Auth_OpenID_SRegRequest::build( // Required array('email'), // Optional array('fullname', 'gender', 'timezone', 'dob', 'country')); what gives? Google's OpenID identity provider doesn't support SREG. Instead, they support OpenID Attribute Exchange for limited attributes (username and e

OpenID Simple Registration (sreg) vs. Attribute Exchange (ax)

烂漫一生 提交于 2019-12-03 13:02:06
What is the relationship between the OpenID sreg and ax extensions? How does a relying party know which one to request, or both? sreg was written as the Simplest Thing that could Possibly Work, and has a very limited set of fields available. But since that includes nickname , email , and fullname , that's often all you need. Attribute Exchange is much more extensible and featureful, although I suspect in practice features like the update_url and store request have not been widely implemented. As for knowing which to request: In theory, which extensions a provider supports is documented in the