superset-development icon indicating copy to clipboard operation
superset-development copied to clipboard

Remote Server API

Open B121119 opened this issue 6 years ago • 3 comments

What is remote server api in security_views.

B121119 avatar Oct 09 '18 13:10 B121119

@B121119 remote server is the service that take care of authentication within your company. Authentication means verify a user is valid or the user is a member of your company. That service may have RESTful API or thrift rpc stuff to help authenticating a user.

yamyamyuo avatar Feb 02 '19 11:02 yamyamyuo

Hello, I used your configuration information (based on version 0.28.1) to place the corresponding security_models.py under the models of the superset, security_views.py under the superset views, and login.html under the superset templates/...In /security/, config.py was modified at the same time, but hint: File "/opt/software/superset-py3/lib/python3.6/ sit-packages /superset/cache_util.py", line 4, in From superset import cache, tables_cache ImportError: cannot import name 'cache';

However, there is no error with the regular auth_db/auth_ldap

So what should I do?

zpi1223 avatar Mar 15 '19 09:03 zpi1223

@AaronCH5 the import error may related to the python path problems. Maybe you should export PYTHONPATH=$PWD where $PWD should in the root of superset project.

yamyamyuo avatar Mar 24 '19 10:03 yamyamyuo