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.
> 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 dyuproject@googlegroups.com. > To unsubscribe from this group, send email to > dyuproject+unsubscribe@googlegroups.com<dyuproject%2Bunsubscribe@googlegrou ps.com> > . > For more options, visit this group at > http://groups.google.com/group/dyuproject?hl=en.
-- When the cat is away, the mouse is alone. - David Yu
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)
> 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)
> -- > You received this message because you are subscribed to the Google Groups > "dyuproject" group. > To post to this group, send email to dyuproject@googlegroups.com. > To unsubscribe from this group, send email to > dyuproject+unsubscribe@googlegroups.com<dyuproject%2Bunsubscribe@googlegrou ps.com> > . > For more options, visit this group at > http://groups.google.com/group/dyuproject?hl=en.
-- When the cat is away, the mouse is alone. - David Yu
On Fri, Sep 03, 2010 at 11:08:40PM +0800, David Yu wrote: > On Fri, Sep 3, 2010 at 10:48 PM, Bastiaan Welmers <haa...@welmers.net>wrote: > > 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)