Has someone been able to retrieve a name attribute from
GMail/Google Apps accounts? I tried the exchange attribute
"fullname" and "nickname" but it returns null. The code summary
for the servlet I am using can be found on :
http://www.welmers.net/~bastiaan/OpenIdServlet.java
When on the google page, it only asks for permission
of the email and language attribute.
Thanks in advance,
Bastiaan Welmers
--
You received this message because you are subscribed to the Google Groups "dyuproject" group.
To post to this group, send email to dyupr...@googlegroups.com.
To unsubscribe from this group, send email to dyuproject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dyuproject?hl=en.
Thanks.
I've read that, but I thought the 'includes' means that those
attributes are possible but there may be more. And I've always
entered my full name at google as one field, so I don't get how
google could split these up in firstname and lastname.
When I add firstname to the list of attributes, I get an
exception:
java.lang.IllegalArgumentException: 'firstname' not found. The ff are supported:
nickname,email,fullname,dob,gender,postcode,country,language,timezone
at com.dyuproject.openid.ext.SRegExtension.addExchange(SRegExtension.java:106)
/Bastiaan
/Bastiaan
--
You received this message because you are subscribed to the Google Groups "dyuproject" group.
To post to this group, send email to dyupr...@googlegroups.com.
To unsubscribe from this group, send email to dyuproject+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/dyuproject?hl=en.
Great, that did the trick. (with firstname and lastname)
Thanks a lot!
/Bastiaan