lacostabr / socialauth-net

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

After successful Log In, it opens: domain/socialauth/validate.sauth?code= #185

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?
After the successful log in, I was looking to redirect to the dashboard page of 
the website which is a default dashboard page of the website. But after 
successful login by Facebook (while I have not tried using others), it is 
opening a blank page whose url I can see, is something like: 
mydomain/socialauth/validate.sauth?code=<'here a long string goes'>

What version of the product are you using? On what operating system?
SocialAuth-net version: 2.3.0.0
Operating System version of Development PC: Windows XP

Operating System version of Live Server: Microsoft® Windows Server® 2008 
Standard without Hyper-V Service Pack 2

Dedicated Application Pool Enabled

Write Permission Enabled

Integrated Windows Authentication Enabled

Anonymous Access Allowed

ASP.Net version: ASP.Net 4.0 Integrated

IIS version: IIS7

Please provide any additional information below.

My website where I am wanting to use the socialauth-net, it is a live website 
where manual(cookie based) log in system is already there. So, with the login 
page of this website, I am wanting to put several image buttons for each social 
website, like: for facebook an image button will be there, for google an image 
button will be there, this way. And with the click event of each image button, 
I am wanting to log in with that social website whose for that particular 
button is dedicated.

And to make this thing done, I have already made an image button for the 
facefook and from its click event, I am using the following code:-

-------------------------------------------
Dim oUser As New SocialAuthUser(PROVIDER_TYPE.FACEBOOK)

oUser.Login(PROVIDER_TYPE.FACEBOOK, returnUrl:="dashboard.aspx", 
callback:=Nothing, errorRedirectURL:="")
-------------------------------------------

By using the above code, it is successfully logged in from facebook, but after 
logged in, it opens a blank white page like the url: 
mydomain/socialauth/validate.sauth?code=<a very long code goes here>

I did attach the web.config file.

Please let me know where the issue is and oblige me thereby.

Thanks.

Original issue reported on code.google.com by arijit2...@gmail.com on 15 Jul 2013 at 1:00

Attachments:

GoogleCodeExporter commented 9 years ago
If you're seeing a blank page on .sauth, it is likely because your provider is 
not supporting httpHandler. Could you suggest if you're facing this problem on 
local environment too or on provider only? If later, which provider are you 
using? As a note, if you're using GoDaddy shared account, you may face this 
issue.

Deepak

Original comment by deepak.a...@3pillarglobal.com on 1 Dec 2013 at 4:28

GoogleCodeExporter commented 9 years ago

Original comment by deepak.a...@3pillarglobal.com on 15 Feb 2014 at 11:14