Giter VIP home page Giter VIP logo

anil-matcha / gpt-auth Goto Github PK

View Code? Open in Web Editor NEW
242.0 6.0 31.0 40 KB

GPT Auth provides a user-friendly solution to quickly setup oauth for your custom GPT and self-host it.

Home Page: https://www.gpt-auth.com/?utm_source=github&utm_medium=link&utm_campaign=github_gptauth

JavaScript 61.23% CSS 0.31% Python 38.46%
gpt gpt-3 gpt4 langchain langchain-python llms openai openai-api gpt-auth gpt-oauth

gpt-auth's Introduction

GPT Auth

Auth for your Custom GPT


GPT Auth provides a user-friendly solution to quickly setup oauth for your custom GPT and self-host it.

auth.mp4

Key Features ๐ŸŽฏ

  • Robust Security: Tailored for Custom GPTs, ensuring protection against unauthorized access.
  • Access Control: Effective monitoring and management of user access by GPT owners.
  • Easy Integration: User-friendly setup, comprehensive guide, and intuitive dashboard.
  • Community & Support: Access to a supportive community and dedicated developer support.
  • Interactive Demo & Documentation: Hands-on demo and extensive documentation available.

Stack

  • Next.js
  • OpenAI
  • Tailwind
  • Flask
  • Sqlalchemy

Run the project locally

Minimum requirements to run the projects locally

  • Node.js v18
  • OpenAI API Key
  • Python3
## Client

cd client

npm install

npm run build

npm start

## Server

cd ../server

pip install -r requirements.txt

python webserver.py

Use ngrok to test on a https endpoint

Hosted version of GPT Auth

If you don't want to setup locally and wish to use a hosted version, you can start from https://gpt-auth.thesamur.ai/

Demo

Here is a demo chatgpt plugin built with GPT Auth to test the entire flow of the app https://chat.openai.com/g/g-xx7FJpizE-gpt-auth

gpt-auth's People

Contributors

anil-matcha 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

gpt-auth's Issues

Safari does not like your javascript and the page is white

Hi, thanks for the effort first of all!

However, this snippet is not executed on MacOSX' Safari:

navigator.clipboard.writeText(...

And the page shows no code:

Screenshot 2024-02-05 at 01 08 05

So there is no (friendly) way to get to the code. And why not send it in the email directly? To land on an ugly page with a copy button? Double clicking + copy paste the code from the email is much nicer imo...

Gets stuck on 'Logging in'

This looks great, but when I actually try the demo through the ChatGPT you set up and I press the login button, the page on your website just gets stuck on 'Logging in'.

Is there any debug or something I can provide to help you work out what the issue is?

Async support

This is by far the best openai wrapper I've come across and I tried a few. The intuitiveness is unparalleled.

Have you considered introducing async support and especially streaming the response?

It's useful for assistant applications to have something happening on the screen.

If you don't want to work on this, I might be able to help out. Let me know.

How does this work exactly?

Hi,

I tried the demo, entered an email address, received a code, and entered it. Then, the GPT told me I was authenticated/verified (as expected).
I then opened another browser and entered the same email, and the GPT told me my email had already been verified without sending me a new code.

Based on that, I'd like to know how the validation is done and how subsequent calls to a REST API would be processed. So far, my understanding is that as long as someone validates an email address, anyone else can use the same email address without having access to it (no code to enter), which is not secure.

Am I missing something? Am I misunderstanding how this works?

Thanks

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.