GithubHelp home page GithubHelp logo

Comments (11)

suixhxy avatar suixhxy commented on July 25, 2024 1

I have an idea, and it goes like this:
The OpenAI Api Key is configured as a hidden configuration.
The front end uses user login mode,
Manage users. You can create and delete users.
Only authorized users can access:
http://192.168.1.196:9090/.
After login, common users cannot modify the OpenAI Api Key configuration.
Only administrators can configure OpenAI Api keys.
If you don't want a user to have access, you can revoke his permissions.
In this way, security is increased. It is more convenient to manage users and facilitate team cooperation.

from chatgpt-ui.

Boris-code avatar Boris-code commented on July 25, 2024 1

Hi, I want to try your project but it is asking me for a login and password ! Can you help ?

admin / password
I find it in code

from chatgpt-ui.

WongSaang avatar WongSaang commented on July 25, 2024 1

Sorry, the previous version might have contained some bugs which I have now fixed. If you are still interested, you can run “docker compose” again following the example in the README file to pull the latest image.
If you have any further issues, I look forward to hearing from you again. Thank you!

from chatgpt-ui.

WongSaang avatar WongSaang commented on July 25, 2024

I was going to add a user module.
But your requirement is just basic authentication, why not just use nginx as a proxy 🤭

from chatgpt-ui.

suixhxy avatar suixhxy commented on July 25, 2024

Thank you very much
Thanks, I figured out that I could deploy an nginx proxy myself and configure a basic password authentication.
By the way, what is the function of the user module you mentioned? Can I talk about it?

from chatgpt-ui.

WongSaang avatar WongSaang commented on July 25, 2024

It might be possible to add a configuration that supports external database connections to manage users.
Do you have any good ideas? 🙂

from chatgpt-ui.

WongSaang avatar WongSaang commented on July 25, 2024

Hello, version 2 now supports user authentication.

from chatgpt-ui.

TuXbOy06 avatar TuXbOy06 commented on July 25, 2024

Hi,
I want to try your project but it is asking me for a login and password !
Can you help ?

from chatgpt-ui.

TuXbOy06 avatar TuXbOy06 commented on July 25, 2024

Thanks but it doesn't work
image
image
image

from chatgpt-ui.

TuXbOy06 avatar TuXbOy06 commented on July 25, 2024

Nice it is working now thanks for your help

from chatgpt-ui.

WongSaang avatar WongSaang commented on July 25, 2024

😁 I made another update just a few minutes ago.

I have updated the image and also the docker-compose configuration example in Readme .

You can copy the docker-compose configuration again and pull the latest image by running the command docker-compose up --pull always.

from chatgpt-ui.

Related Issues (20)

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.