Kokila Manikandan
Kokila Manikandan

Reputation: 21

Is there any superset API to open dashboard?

I have been using superset. I want to bypass the login page. To do so I did the following in a js file

  1. Got token using login API
  2. Got dashboard URL using dataset find API

I have tried to open the dashboard url and I am getting login page eventhough I already hit login API to get the tokens. I want to know is there any way or build in API in superset to open the superset dashboard bypassing the login page.

Upvotes: 1

Views: 1190

Answers (1)

Kokila Manikandan
Kokila Manikandan

Reputation: 21

Thank you for your support. I have implemented SSO in superset. I have done the following things hope it might be helpful for others.

  1. Inside security folder create your own login/logout method inside init.py file.
  2. Update CUSTOM_SECURITY_MANAGER from None to your custom class(defined inside security folder).

I have followed this link https://github.com/dpgaspar/Flask-AppBuilder/blob/master/flask_appbuilder/security/manager.py.

Upvotes: 1

Related Questions