Comments (2)
There's a piece of code written for superset to take thumbnail images which bypass the authentication, perhaps we can leverage the same code?
from superset.utils.urls import headless_url
from superset.utils.machine_auth import MachineAuthProvider
def auth_driver(driver, user):
# Setting cookies requires doing a request first, but /login is redirected to oauth provider, and stuck there.
driver.get(headless_url("/doesnotexist"))
cookies = MachineAuthProvider.get_auth_cookies(user)
for cookie_name, cookie_val in cookies.items():
driver.add_cookie(dict(name=cookie_name, value=cookie_val))
return driver
from datahub.
This issue is stale because it has been open for 30 days with no activity. If you believe this is still an issue on the latest DataHub release please leave a comment with the version that you tested it with. If this is a question/discussion please head to https://slack.datahubproject.io. For feature requests please use https://feature-requests.datahubproject.io
from datahub.
Related Issues (20)
- Need information about the ElasticSearch version as free license HOT 1
- Lineage is mixed up with multiple Metabase instances connected to the same database
- Apache Spark agent is unable to push metadata due to unknown reason HOT 3
- datahub docker ingest-sample-data: Failed to configure the sink (datahub-rest)
- Failed to create a lineage between dataset and non-dataset using Python SDK HOT 3
- Access Policies do not have affect on ingestion process
- BigQuery ingestion suceed but datasets not shown in UI HOT 2
- Generate Token
- `sqlglot_lineage`: `Node` class has no attribute `subfield` HOT 2
- Column tags displayed twice for column in dbt and postgresql dataset HOT 2
- chart to dataset column level lineage
- acryl-datahub-airflow-plugin 0.13.3.2 ImportError: cannot import name 'CustomAssertionInfoClass' from 'datahub.metadata.schema_classes' HOT 2
- Sagemaker API call `model_image_to_groups` result assigned to wrong variable
- Classification not working for Hive Source from CLI ingestion
- [Ingestion] [DBT] Discrepancy between "dataProcessInstance" model (not supporting "status" aspect) and source_helpers.auto_status_aspect() leads to 500 error in GMS HOT 1
- Elasticsearch Ingestion: Issue to Detect Sub-Properties in 'nested' Type Mapping
- Username or email are stored in html5 persistent storage
- Failing to update Elastic Search Index for empty strings within OBJECT fieldType
- DataProcessInstance Entity needs the retention mechanism
- datahub-actions container crashes on "pip install" HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datahub.