diff --git a/superset/utils.py b/superset/utils.py
index <HASH>..<HASH> 100644
--- a/superset/utils.py
+++ b/superset/utils.py
@@ -716,7 +716,7 @@ def has_access(f):
         return redirect(
             url_for(
                 self.appbuilder.sm.auth_view.__class__.__name__ + '.login',
-                next=request.path))
+                next=request.full_path))
 
     f._permission_name = permission_str
     return functools.update_wrapper(wraps, f)
use full path in case of there are query params (#<I>)