Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote Server API #1

Open
B121119 opened this issue Oct 9, 2018 · 3 comments
Open

Remote Server API #1

B121119 opened this issue Oct 9, 2018 · 3 comments

Comments

@B121119
Copy link

B121119 commented Oct 9, 2018

What is remote server api in security_views.

@yamyamyuo
Copy link
Owner

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

@zpi1223
Copy link

zpi1223 commented Mar 15, 2019

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?

@yamyamyuo
Copy link
Owner

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants