Make the MvcOAuthActionResult execute the callback

Apr 11, 2011 at 2:28 PM

Well, i observed that the MvcOAuthActionResult dont execute the redirect for correct url callback.

So, i changed the line 26:

m_webAuth.BeginAuthorization(HttpContext.Current.Request.Url);
For this line:

m_webAuth.BeginAuthorization(m_webAuth.Callback ?? HttpContext.Current.Request.Url);

 

this solved for me, hope I help someone=)

Coordinator
Apr 11, 2011 at 8:05 PM

Thanks for sharing :)

Joe