superset icon indicating copy to clipboard operation
superset copied to clipboard

Authenticate Apache Superset webserver with Oracle Database users

Open ganesh8614 opened this issue 7 years ago • 4 comments

Hello,

We have requirement to Authenticate Apache Superset webserver with Oracle Database users instead of Flask/db authentication, can anyone please share your inputs if any configuration/documentation available.

Appreciate your quick response.

ganesh8614 avatar Aug 01 '19 06:08 ganesh8614

Issue-Label Bot is automatically applying the label #question to this issue, with a confidence of 0.76. Please mark this comment with :thumbsup: or :thumbsdown: to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

issue-label-bot[bot] avatar Aug 01 '19 06:08 issue-label-bot[bot]

This is possible with a little bit of code and configuration on your part. All you need to do is extend the SupersetSecurityManager class as follows.

  1. Create a superset class named CustomSecurityManager
  2. On the superset_config.py file import that class as shown in the image below. image

Override the AuthDBView to include your own implementation. https://flask-appbuilder.readthedocs.io/en/latest/_modules/flask_appbuilder/security/views.html

This medium link provides a good way to get started linking everything together. https://medium.com/@sairamkrish/apache-superset-custom-authentication-and-integrate-with-other-micro-services-8217956273c1

mmutiso avatar Aug 01 '19 11:08 mmutiso

You can also read more here https://medium.com/@mmutiso/authenticate-apache-superset-with-a-custom-user-store-c4511ab0f798

mmutiso avatar Aug 02 '19 11:08 mmutiso

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue .pinned to prevent stale bot from closing the issue.

stale[bot] avatar Oct 01 '19 11:10 stale[bot]