sashank opened a new issue #6216: Automatic login via iFrame fails due to 
redirection issue
URL: https://github.com/apache/incubator-superset/issues/6216
 
 
   Make sure these boxes are checked before submitting your issue - thank you!
   
   - [ ] I have checked the superset logs for python stacktraces and included 
it here as text if any
   Not Applicable
   - [ ] I have reproduced the issue with at least the latest released version 
of superset
   Yes
   - [ ] I have checked the issue tracker for the same issue and I haven't 
found one similar
   Yes
   
   ### Problem
   We loaded the superset login page inside an iFrame of different web 
application. When we make the iFrame visible to User and manually enter 
username, password , it logs the user in and we could load the dashboards into 
our web application. We next made the iFrame invisible and  We want to 
replicate the login behavior automatically by passing the username, password 
for auto logging in but this fails .
   
   We could isolate the problem to be , auto redirection of "/login" page to 
"/" and subsequently to directed to "/superset/welcome"  while the cookies 
(request_token, session ) are being setup.  
   
   When we manually entered the username, password in the iFrame , browser is 
handling the redirection for us but where as when we automatically enter the 
username, password , its failing .
   
   Any help addressing this issue greatly appreciated.  
   
   ### Superset version
   2.7
   
   ### Expected results
   User should get logged in 
   
   ### Actual results
   User login fails
   
   ### Steps to reproduce
   
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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