contactlaveena / dyuproject

Automatically exported from code.google.com/p/dyuproject
0 stars 0 forks source link

How to use OpenID Simple Registration Extension? #3

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
How can I get sreg values using the library? Any example?

Original issue reported on code.google.com by Vladimir...@gmail.com on 6 Oct 2008 at 5:12

GoogleCodeExporter commented 9 years ago
Thats on the todo-list.

Afaik, not all providers expose/implement that service as it is not required. 
E.g blogger, yahoo, flickr.

Currrently, some major providers that I know of w/c has that service is 
myopenid and
verisign.

Basically if your users use blogger/yahoo/flickr as its openid provider, you 
would
not get any sreg data that your application usually expects.

Imo, it might be better to ask data from your users in general whenever your 
user
gets authenticated.

I'll definitely look into adding sreg support.

Cheers

Original comment by david.yu...@gmail.com on 6 Oct 2008 at 8:24

GoogleCodeExporter commented 9 years ago
I'm sure all providers will be supporting it since it benefits both them (they 
can
get updates on user info) and the user (should only update their info at one 
place).

So it's only matter of time.

Personally, I have an opposite opinion -- if we delegate identity management to
OpenID provider, we should delegate user info management too. 

The question _now_ is how to use the extension with dyuproject. I've tried to 
add 

"&openid.sreg.optional="+UrlEncoded.encodeString("nickname,email,fullname,dob,ge
nder,postcode,country,language,timezone")

to the URL returned by RelyingParty, but somehow the reply from myopenid.com 
didn't
contained any information... any ideas?

Original comment by Vladimir...@gmail.com on 6 Oct 2008 at 12:07

GoogleCodeExporter commented 9 years ago
http://code.google.com/p/dyuproject/wiki/OpenIdSimpleRegistration contains
instructions on how to enable this feature.

Cheers

Original comment by david.yu...@gmail.com on 7 Oct 2008 at 3:51

GoogleCodeExporter commented 9 years ago
Great, it works! Thanks!

Original comment by Vladimir...@gmail.com on 7 Oct 2008 at 11:51

GoogleCodeExporter commented 9 years ago
dyuproject-1.1.1 and up has built-in support for this.

Original comment by dyuproj...@gmail.com on 11 Jan 2009 at 2:37