AnkitSingh02 opened a new issue #9016: Unable to Access anything in superset 
request throwing 401
URL: https://github.com/apache/incubator-superset/issues/9016
 
 
   I have installed superset on my mac using python venv, have configured a 
secure login of my company using OAUTH configuration.
   
   After logging in into the dashboard, I am not able to perform/check anything 
: 
   
   PFB the logs from debugger mode : 
   
   2020-01-25 00:19:52,808:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:52] 
"GET / HTTP/1.1" 302 -
   2020-01-25 00:19:52,814:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:52] 
"GET /superset/welcome HTTP/1.1" 302 -
   2020-01-25 00:19:52,931:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:52] 
"GET /login/ HTTP/1.1" 200 -
   2020-01-25 00:19:53,543:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:19:53] 
"GET /superset/csrf_token/ HTTP/1.1" 401 -
   
   
   
   2020-01-25 00:20:01,134:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET /login/authn?next= HTTP/1.1" 302 -
   2020-01-25 00:20:01,285:DEBUG:flask_oauthlib:Prepare oauth2 remote args 
{'code': '4ltLn8wQ2ap4', 'client_secret': '<SECRET>', 'redirect_uri': 
'<REDIRECT URL>'}
   2020-01-25 00:20:01,285:DEBUG:flask_oauthlib:Request '<AUTH TOKEN URL>' with 
'POST' method
   2020-01-25 00:20:01,449:DEBUG:flask_oauthlib:Request '<BASE URL>' with 'GET' 
method
   {'username': '<USer Name>', 'email': '<email Id>'}
   2020-01-25 00:20:01,597:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET /oauth-authorized/authn?code=<Complete AUthN code> HTTP/1.1" 302 -
   2020-01-25 00:20:01,602:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET / HTTP/1.1" 302 -
   2020-01-25 00:20:01,723:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET /superset/welcome HTTP/1.1" 200 -
   
   **2020-01-25 00:20:01,952:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET /superset/recent_activity/3/?limit=50 HTTP/1.1" 401 -
   2020-01-25 00:20:01,952:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET /superset/fave_dashboards/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:01,953:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET 
/dashboardasync/api/read?_oc_DashboardModelViewAsync=changed_on&_od_DashboardModelViewAsync=desc
 HTTP/1.1" 401 -
   2020-01-25 00:20:01,953:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:01] 
"GET /superset/fave_slices/3/ HTTP/1.1" 401 -**
   2020-01-25 00:20:07,204:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET /users/userinfo/ HTTP/1.1" 302 -
   2020-01-25 00:20:07,212:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET /login/?next=http%3A%2F%2Flocalhost%3A8088%2Fusers%2Fuserinfo%2F HTTP/1.1" 
302 -
   2020-01-25 00:20:07,216:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET / HTTP/1.1" 302 -
   2020-01-25 00:20:07,245:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET /superset/welcome HTTP/1.1" 200 -
   **2020-01-25 00:20:07,435:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET /superset/fave_dashboards/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:07,439:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET /superset/recent_activity/3/?limit=50 HTTP/1.1" 401 -
   2020-01-25 00:20:07,439:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET /superset/fave_slices/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:07,446:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:07] 
"GET 
/dashboardasync/api/read?_oc_DashboardModelViewAsync=changed_on&_od_DashboardModelViewAsync=desc
 HTTP/1.1" 401 -**
   2020-01-25 00:20:09,698:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET /superset/sqllab HTTP/1.1" 302 -
   2020-01-25 00:20:09,707:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET /login/?next=http%3A%2F%2Flocalhost%3A8088%2Fsuperset%2Fsqllab HTTP/1.1" 
302 -
   2020-01-25 00:20:09,711:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET / HTTP/1.1" 302 -
   2020-01-25 00:20:09,745:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET /superset/welcome HTTP/1.1" 200 -
   **2020-01-25 00:20:09,944:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET /superset/fave_dashboards/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:09,948:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET 
/dashboardasync/api/read?_oc_DashboardModelViewAsync=changed_on&_od_DashboardModelViewAsync=desc
 HTTP/1.1" 401 -
   2020-01-25 00:20:09,949:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET /superset/fave_slices/3/ HTTP/1.1" 401 -
   2020-01-25 00:20:09,949:INFO:werkzeug:127.0.0.1 - - [25/Jan/2020 00:20:09] 
"GET /superset/recent_activity/3/?limit=50 HTTP/1.1" 401 -**
   
   After Clicking on Profile or options its throwing 401.
   The LogIn Authorization is done by ouath integration.
   
   The Screen is simply Blank : 
   
   <img width="1667" alt="Screenshot 2020-01-25 at 12 25 56 AM" 
src="https://user-images.githubusercontent.com/16684067/73096010-da6c2f00-3f09-11ea-8d9b-5c331dbe9630.png";>
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to