mapto commented on issue #7024: KnoxSSO integration
URL: 
https://github.com/apache/incubator-superset/issues/7024#issuecomment-475624176
 
 
   I have an early (dirty and partial) version of this working now. To be 
verified how/if it suits our needs and most probably changes will follow. It is 
available at https://github.com/mapto/knox_superset_testing if of interest to 
the community.
   
   My current implementation reads the [hadoop-jwt 
cookie](https://svn.apache.org/repos/asf/knox/site/books/knox-0-9-0/knoxsso_integration.html#Curl+the+Flow)
 and performs user identification at every request. The advantage of this is 
that it avoids synchronising session TTL between Knox and Superset. The 
disadvantage might be performance, but at this point this doesn't appear to be 
critical.
   
   As can be seen from the code, this now works with code injection, and can be 
improved, subject to suggestions in #3970.
   
   The integration currently exposes only the `welcome` and `sqllab` sections.

----------------------------------------------------------------
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