[oauth] How many consumer keys do I need?
hi guys, so i'm implementing oauth 1.0a (consumer and service) and have a hard- coded consumer_key and consumer_secret on the consumer side (in a config file). i was envisioning having one pair for each consumer (i.e. individual site/ application) that is to use the service as i've seen before. however i've also seen it suggested/implemented that each individual user (even coming from the same consumer) use their own unique consumer key, despite having their own unique user credentials. in the consumer table i have, that i adapted from an example, each consumer has one user id associated with it, whereas i would've imagined the relationship between consumer and user to be one to many. any ideas/pointers/clarification gratefully received! best, rob ganly -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
[oauth] Re: I have found a bug ....
i have an other question if you help me i will be very glad : How could i get the connected user info with open auth mail Adress/ Name/surname...etc. what is possible At the other side: Thank you very much for your fast response i finally solved the problem take a look at this on the vb.Net code we need to add : Protected Const oAauthVerifier As String = oauth_verifier and also design the comparer as this : Protected Class QueryParameterComparer Implements IComparer(Of QueryParameter) #Region IComparerQueryParameter Members Public Function Compare(ByVal x As QueryParameter, ByVal y As QueryParameter) As Integer _ Implements IComparer(Of OAuth.OAuthBase.QueryParameter).Compare If x.Nome = y.Nome Then Return String.Compare(x.Valor, y.Valor) Else Return String.Compare(x.Nome, y.Nome) End If End Function #End Region End Class one last thing deletinh the comma of : parameters.Sort(New QueryParameterComparer()) On Dec 3, 4:11 am, mat...@gmail mat...@gmail.com wrote: Can you send the list of keys included in authorization header your consumer is sending? If the header includes xoauth_* or some other keys used for OAuth extentions, it might cause the signature verification failure. These keys should not be included in the header. Some library use these as signature base string (at least Python Perl). PHP and Ruby library doesn't use these keys as signature base string. On 2009/12/02, at 18:40, File4Share wrote: I really get angry with oAuth that took my 2 days to understand what is going on. Just look at this. When i try to generate a signature via term.ie with my generated signature i am succedd to connect google to get request token but with my asp.net application what ever i tried i could not connect to it. Then i made line by line debugging for php and .Net and i see that return base64_encode(hash_hmac('sha1', $base_string, $key, true)); this function generates a different result then Private Function ComputeHash(ByVal hashAlgorithm As HashAlgorithm, ByVal data As String) As String i looked deeply to each variable echo scriptalert(' . $base_string . ')/script; echo scriptalert(' . $key . ')/script; echo scriptalert(' . base64_encode(hash_hmac('sha1', $base_string, $key, true)) . ')/script; they are all the same with asp.net 's created signature base and keys : hmacsha1.Key = Encoding.ASCII.GetBytes(String.Format({0}{1}, UrlEncode(consumerSecret), If(String.IsNullOrEmpty(tokenSecret), , UrlEncode(tokenSecret but the result is completely different and twitter,linkedIn and other social networks are accepting the resulted signature but google not ... Google preder to get the result of : base64_encode(hash_hmac ('sha1', $base_string, $key, true)); while google.gdata.client.outhbase is different then this and same with my resulted signatue and please help me to find a way to write a function which gets the same result with this php function. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group athttp://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Re: I have found a bug ....
File4Share, Have you tried UTF8 instead of ASCII in the line of code below? Before: hmacsha1.Key = Encoding.ASCII.GetBytes( String.Format({0}{1}, UrlEncode(consumerSecret), If(String.IsNullOrEmpty(tokenSecret), , UrlEncode(tokenSecret After: hmacsh1.Key = Encoding.UTF8.GetBytes(.. Nick --- Nicholas Granado twitter: heatxsink web:http://nickgranado.com email: ngran...@gmail.com On Wed, Dec 2, 2009 at 6:30 PM, File4Share cahit.eyigu...@gmail.com wrote: i have an other question if you help me i will be very glad : How could i get the connected user info with open auth mail Adress/ Name/surname...etc. what is possible At the other side: Thank you very much for your fast response i finally solved the problem take a look at this on the vb.Net code we need to add : Protected Const oAauthVerifier As String = oauth_verifier and also design the comparer as this : Protected Class QueryParameterComparer Implements IComparer(Of QueryParameter) #Region IComparerQueryParameter Members Public Function Compare(ByVal x As QueryParameter, ByVal y As QueryParameter) As Integer _ Implements IComparer(Of OAuth.OAuthBase.QueryParameter).Compare If x.Nome = y.Nome Then Return String.Compare(x.Valor, y.Valor) Else Return String.Compare(x.Nome, y.Nome) End If End Function #End Region End Class one last thing deletinh the comma of : parameters.Sort(New QueryParameterComparer()) On Dec 3, 4:11 am, mat...@gmail mat...@gmail.com wrote: Can you send the list of keys included in authorization header your consumer is sending? If the header includes xoauth_* or some other keys used for OAuth extentions, it might cause the signature verification failure. These keys should not be included in the header. Some library use these as signature base string (at least Python Perl). PHP and Ruby library doesn't use these keys as signature base string. On 2009/12/02, at 18:40, File4Share wrote: I really get angry with oAuth that took my 2 days to understand what is going on. Just look at this. When i try to generate a signature via term.ie with my generated signature i am succedd to connect google to get request token but with my asp.net application what ever i tried i could not connect to it. Then i made line by line debugging for php and .Net and i see that return base64_encode(hash_hmac('sha1', $base_string, $key, true)); this function generates a different result then Private Function ComputeHash(ByVal hashAlgorithm As HashAlgorithm, ByVal data As String) As String i looked deeply to each variable echo scriptalert(' . $base_string . ')/script; echo scriptalert(' . $key . ')/script; echo scriptalert(' . base64_encode(hash_hmac('sha1', $base_string, $key, true)) . ')/script; they are all the same with asp.net 's created signature base and keys : hmacsha1.Key = Encoding.ASCII.GetBytes(String.Format({0}{1}, UrlEncode(consumerSecret), If(String.IsNullOrEmpty(tokenSecret), , UrlEncode(tokenSecret but the result is completely different and twitter,linkedIn and other social networks are accepting the resulted signature but google not ... Google preder to get the result of : base64_encode(hash_hmac ('sha1', $base_string, $key, true)); while google.gdata.client.outhbase is different then this and same with my resulted signatue and please help me to find a way to write a function which gets the same result with this php function. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group athttp:// groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
[oauth] Re: I have found a bug ....
This issue has been solved thank you so much ;) On Dec 4, 1:01 am, Nicholas Granado ngran...@gmail.com wrote: File4Share, Have you tried UTF8 instead of ASCII in the line of code below? Before: hmacsha1.Key = Encoding.ASCII.GetBytes( String.Format({0}{1}, UrlEncode(consumerSecret), If(String.IsNullOrEmpty(tokenSecret), , UrlEncode(tokenSecret After: hmacsh1.Key = Encoding.UTF8.GetBytes(.. Nick --- Nicholas Granado twitter: heatxsink web: http://nickgranado.com email: ngran...@gmail.com On Wed, Dec 2, 2009 at 6:30 PM, File4Share cahit.eyigu...@gmail.com wrote: i have an other question if you help me i will be very glad : How could i get the connected user info with open auth mail Adress/ Name/surname...etc. what is possible At the other side: Thank you very much for your fast response i finally solved the problem take a look at this on the vb.Net code we need to add : Protected Const oAauthVerifier As String = oauth_verifier and also design the comparer as this : Protected Class QueryParameterComparer Implements IComparer(Of QueryParameter) #Region IComparerQueryParameter Members Public Function Compare(ByVal x As QueryParameter, ByVal y As QueryParameter) As Integer _ Implements IComparer(Of OAuth.OAuthBase.QueryParameter).Compare If x.Nome = y.Nome Then Return String.Compare(x.Valor, y.Valor) Else Return String.Compare(x.Nome, y.Nome) End If End Function #End Region End Class one last thing deletinh the comma of : parameters.Sort(New QueryParameterComparer()) On Dec 3, 4:11 am, mat...@gmail mat...@gmail.com wrote: Can you send the list of keys included in authorization header your consumer is sending? If the header includes xoauth_* or some other keys used for OAuth extentions, it might cause the signature verification failure. These keys should not be included in the header. Some library use these as signature base string (at least Python Perl). PHP and Ruby library doesn't use these keys as signature base string. On 2009/12/02, at 18:40, File4Share wrote: I really get angry with oAuth that took my 2 days to understand what is going on. Just look at this. When i try to generate a signature via term.ie with my generated signature i am succedd to connect google to get request token but with my asp.net application what ever i tried i could not connect to it. Then i made line by line debugging for php and .Net and i see that return base64_encode(hash_hmac('sha1', $base_string, $key, true)); this function generates a different result then Private Function ComputeHash(ByVal hashAlgorithm As HashAlgorithm, ByVal data As String) As String i looked deeply to each variable echo scriptalert(' . $base_string . ')/script; echo scriptalert(' . $key . ')/script; echo scriptalert(' . base64_encode(hash_hmac('sha1', $base_string, $key, true)) . ')/script; they are all the same with asp.net 's created signature base and keys : hmacsha1.Key = Encoding.ASCII.GetBytes(String.Format({0}{1}, UrlEncode(consumerSecret), If(String.IsNullOrEmpty(tokenSecret), , UrlEncode(tokenSecret but the result is completely different and twitter,linkedIn and other social networks are accepting the resulted signature but google not ... Google preder to get the result of : base64_encode(hash_hmac ('sha1', $base_string, $key, true)); while google.gdata.client.outhbase is different then this and same with my resulted signatue and please help me to find a way to write a function which gets the same result with this php function. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group athttp:// groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
[oauth] Getting user credentials
How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
[oauth] Re: How many consumer keys do I need?
How can a consumer key be generated for every user? if that is to be the case then when every user registers on one of your site, there has to be a consumer key/secret exchange between your site and the service provider. This can happen as well, but key/secret exchanges are generally a one time process and it would be insecure to perform this operation on every user registration. And secondly, it does not give any advantage. You already get all the security you need with your site acting as a single consumer. Where did you see this recommendation/implementation? can you please share the link because maybe I'm missing the motive behind it. Thanks, Monis On Dec 3, 9:04 pm, rob ganly robert.ga...@gmail.com wrote: hi guys, so i'm implementing oauth 1.0a (consumer and service) and have a hard- coded consumer_key and consumer_secret on the consumer side (in a config file). i was envisioning having one pair for each consumer (i.e. individual site/ application) that is to use the service as i've seen before. however i've also seen it suggested/implemented that each individual user (even coming from the same consumer) use their own unique consumer key, despite having their own unique user credentials. in the consumer table i have, that i adapted from an example, each consumer has one user id associated with it, whereas i would've imagined the relationship between consumer and user to be one to many. any ideas/pointers/clarification gratefully received! best, rob ganly -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com
Re: [oauth] Getting user credentials
Sorry for second post sometimes also give this error : Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub token. but i use the Token that given on the last step :( 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.comyazdı: I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com . For more options, visit this group at
Re: [oauth] Re: How many consumer keys do I need?
Please try this three buttons in the given order on the page http://www.file4share.net/Returns/Gmail.aspx and on the last step it generates the request url but it will return you an error message :( 2009/12/4 Monis monisiq...@gmail.com How can a consumer key be generated for every user? if that is to be the case then when every user registers on one of your site, there has to be a consumer key/secret exchange between your site and the service provider. This can happen as well, but key/secret exchanges are generally a one time process and it would be insecure to perform this operation on every user registration. And secondly, it does not give any advantage. You already get all the security you need with your site acting as a single consumer. Where did you see this recommendation/implementation? can you please share the link because maybe I'm missing the motive behind it. Thanks, Monis On Dec 3, 9:04 pm, rob ganly robert.ga...@gmail.com wrote: hi guys, so i'm implementing oauth 1.0a (consumer and service) and have a hard- coded consumer_key and consumer_secret on the consumer side (in a config file). i was envisioning having one pair for each consumer (i.e. individual site/ application) that is to use the service as i've seen before. however i've also seen it suggested/implemented that each individual user (even coming from the same consumer) use their own unique consumer key, despite having their own unique user credentials. in the consumer table i have, that i adapted from an example, each consumer has one user id associated with it, whereas i would've imagined the relationship between consumer and user to be one to many. any ideas/pointers/clarification gratefully received! best, rob ganly -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en.
Re: [oauth] Getting user credentials
can you send the OAuth scope parameter you send when getting request token? it might not be Portable Contact API's one. the scope list is here, though I couldn't find any info about portable contact API's scope on google's documents :( http://googlecodesamples.com/oauth_playground/ On 2009/12/04, at 13:00, cahit Eyigünlü wrote: Sorry for second post sometimes also give this error : Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub token. but i use the Token that given on the last step :( 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message
Re: [oauth] Getting user credentials
Dim scope As String = http://www-opensocial.googleusercontent.com/api/people/; Dim returnURL As String = http://www.file4share.net/Returns/Gmail.aspx; Dim RequestFrom As String = http://www-opensocial.googleusercontent.com/api/people/@me/@self; 2009/12/4 mat...@gmail mat...@gmail.com can you send the OAuth scope parameter you send when getting request token? it might not be Portable Contact API's one. the scope list is here, though I couldn't find any info about portable contact API's scope on google's documents :( http://googlecodesamples.com/oauth_playground/ On 2009/12/04, at 13:00, cahit Eyigünlü wrote: Sorry for second post sometimes also give this error : Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub token. but i use the Token that given on the last step :( 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/oauth?hl=en. -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com oauth%2bunsubscr...@googlegroups.com. For more options, visit this group at
Re: [oauth] Getting user credentials
The parameters seems OK. Then, it might be because your consumer's domain is not verified, or different with www.file4share.net. On 2009/12/04, at 13:20, cahit Eyigünlü wrote: With this information it is working on the google playground :( but i could not understand why it is telling me that 04 Aralık 2009 06:20 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: Dim scope As String = http://www-opensocial.googleusercontent.com/api/people/; Dim returnURL As String = http://www.file4share.net/Returns/Gmail.aspx; Dim RequestFrom As String = http://www-opensocial.googleusercontent.com/api/people/@me/@self; 2009/12/4 mat...@gmail mat...@gmail.com can you send the OAuth scope parameter you send when getting request token? it might not be Portable Contact API's one. the scope list is here, though I couldn't find any info about portable contact API's scope on google's documents :( http://googlecodesamples.com/oauth_playground/ On 2009/12/04, at 13:00, cahit Eyigünlü wrote: Sorry for second post sometimes also give this error : Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub token. but i use the Token that given on the last step :( 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one of the easiest way to use Social Graph API. http://identengine.com/index.htm On 2009/12/04, at 8:24, File4Share wrote: How could i get the logged user info on google ? which scope do i need to use. I am able to getting token and auth token but i do not know how could i get credentials :( -- You received this message because you are subscribed to the Google Groups OAuth group. To post to this group, send email to oa...@googlegroups.com. To unsubscribe from this group, send email to oauth+unsubscr...@googlegroups.com. For more options, visit this group at
Re: [oauth] Getting user credentials
I verified the domain and also i tryed the same on the localo but no way i always get the same result Dim item As New OAuth.OAuthBase Dim returns Dim ts = item.GenerateTimeStamp Dim nonce = item.GenerateNonce Dim Sign = item.GenerateSignature(New Uri( http://www-opensocial.googleusercontent.com/api/people/@me/@self;), consumerKey, consumerSecret, Session(Token2), Session(SecretToken2), GET, ts, nonce, , returns) do you think is this create the right signature ? do you have any idea with vb ? 2009/12/4 mat...@gmail mat...@gmail.com The parameters seems OK. Then, it might be because your consumer's domain is not verified, or different with www.file4share.net. On 2009/12/04, at 13:20, cahit Eyigünlü wrote: With this information it is working on the google playground :( but i could not understand why it is telling me that 04 Aralık 2009 06:20 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: Dim scope As String = http://www-opensocial.googleusercontent.com/api/people/; Dim returnURL As String = http://www.file4share.net/Returns/Gmail.aspx; Dim RequestFrom As String = http://www-opensocial.googleusercontent.com/api/people/@me/@self; 2009/12/4 mat...@gmail mat...@gmail.com can you send the OAuth scope parameter you send when getting request token? it might not be Portable Contact API's one. the scope list is here, though I couldn't find any info about portable contact API's scope on google's documents :( http://googlecodesamples.com/oauth_playground/ On 2009/12/04, at 13:00, cahit Eyigünlü wrote: Sorry for second post sometimes also give this error : Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub token. but i use the Token that given on the last step :( 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ... 2009/12/4 mat...@gmail mat...@gmail.com Google has Portable Contacts API, a standardized way to get user profile info. http://portablecontacts.net/draft-spec.html http://code.google.com/intl/en/apis/contacts/docs/poco/1.0/developers_guide.html You can also get their external site accounts on Google Profile, using Social Graph API. http://code.google.com/intl/en/apis/socialgraph/ Ident Engine is one
Re: [oauth] Getting user credentials
Failed to verify 3 legged OAuth request probably means your signature is invalid. Invalid consumer key means something different (ex. your consumer is not verified yet) I'm not good at .NET, but if your signature is same with that this ruby script generate, it should be OK. http://bit.ly/oauth-signature-checker On 2009/12/04, at 13:54, cahit Eyigünlü wrote: I verified the domain and also i tryed the same on the localo but no way i always get the same result Dim item As New OAuth.OAuthBase Dim returns Dim ts = item.GenerateTimeStamp Dim nonce = item.GenerateNonce Dim Sign = item.GenerateSignature(New Uri(http://www-opensocial.googleusercontent.com/api/people/@me/@self;), consumerKey, consumerSecret, Session(Token2), Session(SecretToken2), GET, ts, nonce, , returns) do you think is this create the right signature ? do you have any idea with vb ? 2009/12/4 mat...@gmail mat...@gmail.com The parameters seems OK. Then, it might be because your consumer's domain is not verified, or different with www.file4share.net. On 2009/12/04, at 13:20, cahit Eyigünlü wrote: With this information it is working on the google playground :( but i could not understand why it is telling me that 04 Aralık 2009 06:20 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: Dim scope As String = http://www-opensocial.googleusercontent.com/api/people/; Dim returnURL As String = http://www.file4share.net/Returns/Gmail.aspx; Dim RequestFrom As String = http://www-opensocial.googleusercontent.com/api/people/@me/@self; 2009/12/4 mat...@gmail mat...@gmail.com can you send the OAuth scope parameter you send when getting request token? it might not be Portable Contact API's one. the scope list is here, though I couldn't find any info about portable contact API's scope on google's documents :( http://googlecodesamples.com/oauth_playground/ On 2009/12/04, at 13:00, cahit Eyigünlü wrote: Sorry for second post sometimes also give this error : Failed to verify 3 legged OAuth request. Request was invalid.Invalid AuthSub token. but i use the Token that given on the last step :( 04 Aralık 2009 05:58 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I am at the end very thank you for your helps i saved my day with your helps one last thing to complete my operation i have an from : http://www-opensocial.googleusercontent.com/api/people/@me/@self OAuth Authentication FailureInvalid consumer key, no app specified : www.file4share.net but my application registered on : https://www.google.com/accounts/ManageDomain where could be the error do you have any idea? 2009/12/4 mat...@gmail mat...@gmail.com You are probably using OAuth1.0. Google probably support oauth_callback only which is set when you set up your consumer. You need to send oauth_callback when you get request token if you want use OAuth1.0a. OAuth had changed the timing of sending oauth_callback and added oauth_verifier. Check this document for the details. http://oauth.net/core/1.0a I'm not sure your library support 1.0a though. If not, use default oauth_callback which you set when you set up your consumer, and don't send oauth_verifier. On 2009/12/04, at 11:32, cahit Eyigünlü wrote: I could not complete the third step when i try to get complete third step user is not comming back from the google if i use oauth_callback method user come back without oauth_verifier 04 Aralık 2009 03:56 tarihinde cahit Eyigünlü cahit.eyigu...@gmail.com yazdı: I have found from your sended article could you please check if i have any mistake First request to : https://www.google.com/accounts/OAuthGetRequestToken with scope time_stamp Signature Consumer key Second Request to redirecting user to : https://www.google.com/accounts/accounts/OAuthAuthorizeToken with oauth_tokenoauth_token_subsecret and finally: https://www.google.com/accounts/OAuthGetAccessToken i need to make a get to this url i tryed on play ground it worked and on my own software i completed first two steps to complete my software i need one last step what do i need to send to OAuthGetAccessToken get authTokken and i think this is for one time usage, is there any way to get auth token for longer time oauth_token and oauth_token_secret 2009/12/4 mat...@gmail mat...@gmail.com OAuth Auth token key? Do you mean consumer key? or access token? On 2009/12/04, at 10:27, cahit Eyigünlü wrote: http://www-opensocial.googleusercontent.com/api/people/@me/@self That is exactly what i am looking for but i could not see where would i use my oAuth Auth token key to get this info ...