lacostabr / socialauth-net

Automatically exported from code.google.com/p/socialauth-net
0 stars 0 forks source link

Google Contacts problem #83

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Download SimpleMVCdemo.zip and SocialAuth-net-2.0beta.zip 
2. Try to use "GetContacts" from Google (GMail) usin ASP.net MVC 3 Razor

What is the expected output? What do you see instead?
I tried to get all my contacts from GMail but when I try to use 
"GetAccessToken" is cames NULL and I don't know why cause in my app in web 
forms everything works.

What version of the product are you using? On what operating system?
2.0beta
Win 7 x64

Please provide any additional information below.
I'm sending the full code below.
http://www.sendspace.com/file/cfj8t8

Can anyone help?

Original issue reported on code.google.com by funch...@gmail.com on 7 May 2012 at 11:05

GoogleCodeExporter commented 9 years ago
Hi,

We've downloaded your project and will revert with out findings soon.

regards
Deepak

Original comment by daggar...@brickred.com on 20 May 2012 at 3:45

GoogleCodeExporter commented 9 years ago
Hi, here is the fix:

Open your web.config and remove ScopeLevel="CUSTOM" from 
<add  WrapperName="GoogleWrapper" ConsumerKey="opensource.brickred.com" 
ConsumerSecret="YC06FqhmCLWvtBg/O4W/aJfj" AdditionalScopes="" 
ScopeLevel="CUSTOM" />

You're not getting contacts because when ScopeLevel is set to Custom you must 
explicitly pass scope required to get contacts. However, if you remove this 
attribute, SocialAuth.NET pass required scopes automatically so as to get 
profile and contacts.

regards,
Deepak

Original comment by daggar...@brickred.com on 20 May 2012 at 4:03

GoogleCodeExporter commented 9 years ago
The above issue is not closed. Once the ScopeLevel="CUSTOM" was removed then 
issue arise "Invalid token" even if i give the working AppId and SecretId. 
Reply me. 

you are try to omit to reply for this question. I am really frustrating with 
you. 

Original comment by simplify...@gmail.com on 12 Sep 2012 at 5:16

GoogleCodeExporter commented 9 years ago
Could you please specify the full URL in browser which is failing?

Deepak

Original comment by daggar...@brickred.com on 14 Sep 2012 at 8:32

GoogleCodeExporter commented 9 years ago
I'm closing this issue on account of no-reply. We assume your problem is either 
resolved or is no longer required. However, please feel absolutely free to 
re-open it with details.

Deepak

Original comment by deepak.a...@3pillarglobal.com on 30 Oct 2012 at 8:33