Now when you login via your social account, you can redirect the user successfully to the requested page.