What steps will reproduce the problem?
I read the API and figured that I can intercept Login and do my own membership
assignment stuff, cool, so I called this function:
-----------------------------------------------
var sauser = new SocialAuthUser(sapt);
sauser.Login(sapt,returnUrl,
() => LogOnSocialNetworkCompleted(sauser),
"Home/LogOnSocialNetworkFailed");
-----------------------------------------------
What is the expected output? What do you see instead?
It turns out, there are two things happening:
1.
Expect: call LogOnSocialNetworkCompleted() only once.
Actual: LogOnSocialNetworkCompleted() function gets called twice, 2 times,
whenever I got redirected back from a provider (I am testing it with twitter at
the moment)
2.
Expect: If logged on fail 1st time, successful 2nd time, I don't see
"Home/LogOnSocialNetworkFailed"
Actual: If I do not allow twitter to authorise my website by clicking "No,
Thank" do not authorise this website. I come back to
"Home/LogOnSocialNetworkFailed". However, if I go log on with twitter again and
allow it this time, I am logged on successfully, BUT I still get redirected to
"Home/LogOnSocialNetworkFailed".
Original issue reported on code.google.com by kelvin1...@gmail.com on 29 Jun 2012 at 6:50
Original issue reported on code.google.com by
kelvin1...@gmail.com
on 29 Jun 2012 at 6:50