flask-appbuilder

Using KeyCloak(OpenID Connect) with Apache SuperSet

被刻印的时光 ゝ 提交于 2020-05-08 15:40:43
问题 I started with Using OpenID/Keycloak with Superset and did everything as explained. However, it is an old post, and not everything worked. I'm also trying to implement a custom security manager by installing it as a FAB add-on, so as to implement it in my application without having to edit the existing superset code. I'm running KeyCloak 4.8.1.Final and Apache SuperSet v 0.28.1 As explained in the post, SuperSet does not play nicely with KeyCloak out of the box because it uses OpenID 2.0 and

Decorator for SecurityManager in flask appbuilder for superest

為{幸葍}努か 提交于 2019-12-11 05:09:43
问题 I'm trying to add a custom user information retrieval from OAuth in superset, which is build on top of flask-appbuilder. Official doc provides following information: Decorate your method with the SecurityManager oauth_user_info_getter decorator. Make your method accept the exact parameters as on this example, and then return a dictionary with the retrieved user information. http://flask-appbuilder.readthedocs.io/en/latest/security.html#authentication-oauth The example in the doc also does not