emonarafat / socialauth-net

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

Redirected to DefaultURL specified in Web.Config as if ReturnURL is not specified in Login method #73

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Go to login page directly
2. Login into the any PROVIDER page with returnURL parameter in Login method
3. allowing website to access in PROVIDER page
4. Redirected to defaultURL page specified in forms tag under system.web in 
web.config

What is the expected output? What do you see instead?
As there was no returnURL in  querystring in request the after allow access in 
provider page it should redirected to url specified in Login() method

What version of the product are you using? On what operating system?
SocialAuth.NET.2.2 in asp.net 4.0 with IIS 7 on Windows 7

Please provide any additional information below.
I used Forms authentication along with socialauth authentication.Actually I 
don't need socialAuth authentication instead I want to access profile 
information of user in other providers

Original issue reported on code.google.com by cvacanga...@gmail.com on 10 Apr 2012 at 1:38

GoogleCodeExporter commented 9 years ago
Hi,

When using Forms Authentication instead of SocialAuth.NET authentication, Login 
method's redirectURL argument is ignored and instead FormsAuthentication is 
alloed to perform its default behavior which is to read DefaultURL from config 
file or RedirectURL from query string. This was a design decision to keep 
SocialAuth.NET doesn't interfere with standard forms authentication. This has 
also been mentioned in API description wiki page.

thanks
Deepak

Original comment by daggar...@brickred.com on 22 Apr 2012 at 12:05