softrams / prefect-auth-proxy Goto Github PK
View Code? Open in Web Editor NEWPrefect API Authentication/Authorization Proxy for on-premises deployments
License: MIT License
Prefect API Authentication/Authorization Proxy for on-premises deployments
License: MIT License
Hi! A great idea, this is what is really missing in the open source version of Prefect.
Describe the bug
During the installation process, according to the README (Docker hub image), at the stage of executing the JS code in the browser console, I received the following error in browser console when I tried to execute let auth = (document.getElementsByTagName('a')[0].__vue__.$store.state)...
(web page contains only "Unauthorized"):
Uncaught TypeError: Cannot read properties of undefined (reading '__vue__')
at <anonymous>:1:50
After changing env var ALLOW_PUBLIC_ACCESS
to true
I got the following error on the web page:
TypeError: Cannot read properties of null (reading 'split')
at required (/usr/src/app/node_modules/requires-port/index.js:13:23)
at Object.common.setupOutgoing (/usr/src/app/node_modules/http-proxy/lib/http-proxy/common.js:101:7)
at Array.stream (/usr/src/app/node_modules/http-proxy/lib/http-proxy/passes/web-incoming.js:127:14)
at ProxyServer.<anonymous> (/usr/src/app/node_modules/http-proxy/lib/http-proxy/index.js:81:21)
at HttpProxyMiddleware.middleware (/usr/src/app/node_modules/http-proxy-middleware/dist/http-proxy-middleware.js:22:32)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
When I tried to execute let auth = (document.getElementsByTagName('a')....
again, I got the same error:
Uncaught TypeError: Cannot read properties of undefined (reading '__vue__')
at <anonymous>:1:50
To Reproduce
Steps to reproduce the behavior:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.