Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Retrieving fullname attribute from GMail/Google App account
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bastiaan Welmers  
View profile  
 More options Sep 3 2010, 10:03 am
From: Bastiaan Welmers <haa...@welmers.net>
Date: Fri, 3 Sep 2010 16:03:12 +0200
Local: Fri, Sep 3 2010 10:03 am
Subject: Retrieving fullname attribute from GMail/Google App account
Hi there,

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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Yu  
View profile  
 More options Sep 3 2010, 10:19 am
From: David Yu <david.yu....@gmail.com>
Date: Fri, 3 Sep 2010 22:19:44 +0800
Local: Fri, Sep 3 2010 10:19 am
Subject: Re: [dyuproject] Retrieving fullname attribute from GMail/Google App account

Google only supplies:
"country"
"email"
"firstname"
"language"
"lastname"

See http://code.google.com/apis/accounts/docs/OpenID.html
<http://code.google.com/apis/accounts/docs/OpenID.html>

On Fri, Sep 3, 2010 at 10:03 PM, Bastiaan Welmers <haa...@welmers.net>wrote:

--
When the cat is away, the mouse is alone.
- David Yu

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastiaan Welmers  
View profile  
 More options Sep 3 2010, 10:48 am
From: Bastiaan Welmers <haa...@welmers.net>
Date: Fri, 3 Sep 2010 16:48:26 +0200
Local: Fri, Sep 3 2010 10:48 am
Subject: Re: [dyuproject] Retrieving fullname attribute from GMail/Google App account

On Fri, Sep 03, 2010 at 10:19:44PM +0800, David Yu wrote:
> Google only supplies:
> "country"
> "email"
> "firstname"
> "language"
> "lastname"

> See http://code.google.com/apis/accounts/docs/OpenID.html
> <http://code.google.com/apis/accounts/docs/OpenID.html>

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


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Yu  
View profile  
 More options Sep 3 2010, 11:08 am
From: David Yu <david.yu....@gmail.com>
Date: Fri, 3 Sep 2010 23:08:40 +0800
Local: Fri, Sep 3 2010 11:08 am
Subject: Re: [dyuproject] Retrieving fullname attribute from GMail/Google App account

On Fri, Sep 3, 2010 at 10:48 PM, Bastiaan Welmers <haa...@welmers.net>wrote:

Google only supports AxSchema.
For SReg, firstname is not a vaild attribute exchange.
See "Response Format" in
http://openid.net/specs/openid-simple-registration-extension-1_0.html

Cheers

> /Bastiaan

> --
> 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

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bastiaan Welmers  
View profile  
 More options Sep 3 2010, 11:28 am
From: Bastiaan Welmers <haa...@welmers.net>
Date: Fri, 3 Sep 2010 17:28:03 +0200
Local: Fri, Sep 3 2010 11:28 am
Subject: Re: [dyuproject] Retrieving fullname attribute from GMail/Google App account

Great, that did the trick. (with firstname and lastname)

Thanks a lot!

/Bastiaan


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »