Closed GoogleCodeExporter closed 9 years ago
I understand you are using your own key and secret.
Q1. Could you please copy screenshot of object reference not set error?
Q2. Currently is the baseURL commented or uncommented?
Q3. Is there any combination which worked for Facebook/Google?
regards,
Deepak
Original comment by daggar...@brickred.com
on 17 Oct 2011 at 3:02
Hi,
Thanks for reply deepak.Ya I am using my own key and secret.Currently baseURL is commented in my code. so i m having problem with facebook and gmail.if baseURL is uncommented i m getting exception that i have attached with every provider.
Thanks
Ankur Bhatnagar.
Original comment by ankur.bh...@gmail.com
on 18 Oct 2011 at 9:27
Attachments:
Hi Ankur,
Please provide 2 more details.
1. Which version of SocialAuth.net are you using?
2. Could you please share your web.config (remove all personal keys, secrets,
connection strings etc.)
regards,
Deepak
Original comment by daggar...@brickred.com
on 18 Oct 2011 at 10:24
Hi
I have attached web.config. We are using social Auth2.0 beta version.
Regards
Ankur Bhatnagar.
Original comment by ankur.bh...@gmail.com
on 18 Oct 2011 at 11:17
Attachments:
Hi,
I think facebook is working fine at your provided URL and problem is with
Google only. I am able to reproduce "object reference not set error". The
problem is mainly due to no scope set for Google (though we had taken care of
that in 2.0). Until I get back with a fix, there are 2quick options to resolve
this for Google :
1. use a "DEFAULT" scope instead of "CUSTOM" for google provider tag in
web.config
2. If you want to use "CUSTOM" then specify at least one scope in
AdditionalScopes attribute of same tag.
Please try and let me know if that works.
regards
Deepak
Original comment by daggar...@brickred.com
on 18 Oct 2011 at 12:01
Hi,
We have tried with ScopeLevel="CUSTOM" AdditionalScopes="https://www.google.com/m8/feeds" in web.config with google. still we are getting same issue. can u guide me.
Thanks
Ankur Bhatnagar.
Original comment by ankur.bh...@gmail.com
on 18 Oct 2011 at 12:18
Hi,
I have also used ScopeLevel="DEFAULT" in web.config for google.I have used like this in web.config--
<add ScopeLevel="DEFAULT" WrapperName="GoogleWrapper" ConsumerKey="key"
ConsumerSecret="secret" />
still same error is coming i.e. Invalid Request Token recevied.
Thanks
Ankur Bhatnagar.
Original comment by ankur.bh...@gmail.com
on 18 Oct 2011 at 12:33
When you use ScopeLevel = "Default", could you tell which permissions are
asked to approve from user and also please provide the full URL of error page.
Original comment by daggar...@brickred.com
on 19 Oct 2011 at 6:55
with ScopeLevel = "Default", we are not using using any AdditionalScopes. it is
asking permission of emailId only, not for googleContacts.I have also attached
the screenshot of error.
Original comment by ankur.bh...@gmail.com
on 19 Oct 2011 at 8:43
Attachments:
It should be DEFAULT (case sensitive)or best is do not use scopelevel or
additional scopes attributes at all. If possible, can you host our demo
application (change key and secret to yours so that it works on greetings
site)? This is just to see if problem is with your web.config settings or code
issue.
Original comment by daggar...@brickred.com
on 19 Oct 2011 at 8:57
Hi Ankur,
I've been able to replicate several parts of your problem. Will likely provide
a solution soon. Seems that Google has made some changes to their APIs.
regards,
Deepak
Original comment by deepakag...@gmail.com
on 28 Oct 2011 at 11:12
I am alos facing the same error, when using the Socialauth 2.2, If you guys
have any update please let me know.
Thank you.
Original comment by manish.p...@gmail.com
on 29 Mar 2012 at 7:24
Facing the same issue :( any update guys.......................................
Original comment by kas...@isixtech.com
on 30 Mar 2012 at 12:28
Yes, I have met this issue.
And I debugged into the source and
found that if the AdditionalScopes is not null or ScopeLevel is default, the
token must be put into the response's url, but google does not do it.
So I changed the webConfig file
(AdditionalScopes="" ScopeLevel="CUSTOM")
Then it works well now.
You can try it.
If you have any other questions, feel free to contact me by email.
thanks
Original comment by huqiang...@gmail.com
on 4 May 2012 at 4:05
Thanks a lot, huqianghui for the valuable suggestion !
Warm regards,
SocialAuth team
Original comment by l...@brickred.com
on 14 May 2012 at 8:36
Thanks a lot, huqianghui for the valuable suggestion !
Warm regards,
SocialAuth team
Original comment by l...@brickred.com
on 14 May 2012 at 8:36
Original issue reported on code.google.com by
ankur.bh...@gmail.com
on 17 Oct 2011 at 2:41