Giter VIP home page Giter VIP logo

prefect-auth-proxy's People

Contributors

dependabot[bot] avatar joshuaseidel avatar mkmurali avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

prefect-auth-proxy's Issues

Troubles with setup

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:

  1. Setup Database according to README
  2. Setup proxy using pre-built docker image
  3. Create API Keys and distribute to users/services according to README
  4. Doing "Using API Key via Browser" according to README
  5. See error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.