I been working with OAuth2 to provide authentication techniques on my asp.net 4.0 website using c# in the code behind. I have noticed recently that Windows Live api is no longer working in the code I had made. It is making the call and getting the access token back from Live, but then I am stuck. It is adding a # to the beginning of the query string it is sending back so I have the following type of url send back to me by live
...mypage.aspx?#access_token=43t78fehef83jfvwenj3...
Previously before the # was added I merely took the query string returned and parsed out the access token with the following command.
accessToken = Request.QueryString["access_token"];
With the addition of the hash though I can no longer obtain that querystring as the hash fools the page into thinking it is an anchor. When I checked my debugging local variables I will always end up with an empty querystring and haven't figured out how to get it to give me the actual string so I can parse it for the access token.
Any ideas on how I would get the querystring?
Thanks