This project is read-only.

Try to get return url from query string


Return url in some provider (facebook, google, ...) is context.HttpContext.Request.Url. It's be better If the first attempt to get it from the query string.

Current behavior is bad for some situations. Example:
  1. Not authorized user wants to comment blog post (but he need authorize before).
  2. He see link to LogOn page. Click it.
  3. LogOn page exists some oAuth provider link and after authorization he was redirected to home page (first to logon page and after to home page).