OpenAIAuth  by acheong08

Auth0 reverse engineering for OpenAI

created 2 years ago
464 stars

Top 66.3% on sourcepulse

GitHubView on GitHub
Project Summary

This project provides a reverse-engineered solution for obtaining access tokens for OpenAI's services, specifically chat.openai.com. It targets developers and researchers who need programmatic access to OpenAI's platform without relying on official APIs, offering a way to authenticate and retrieve tokens via Python and Go.

How It Works

The library interacts with OpenAI's Auth0 authentication flow, mimicking the process used by the official web application. It handles the necessary HTTP requests and responses to authenticate user credentials and retrieve a valid access token, abstracting the complexity of the underlying authentication protocol.

Quick Start & Requirements

  • Python: pip install OpenAIAuth
  • Go: go get github.com/acheong08/OpenAIAuth/auth
  • Requires valid OpenAI account credentials (email and password).
  • Supports proxy configuration.

Highlighted Details

  • Provides access tokens for chat.openai.com.
  • Supports both Python and Go implementations.
  • Allows for proxy configuration during authentication.

Maintenance & Community

  • Credits provided to @linweiyuan, @rawandahmad698, and @pengzhile.
  • No explicit community channels or roadmap are mentioned in the README.

Licensing & Compatibility

  • The README does not specify a license.

Limitations & Caveats

This project relies on reverse-engineering OpenAI's authentication flow, which is subject to change without notice and could lead to breakage. Use of this library may violate OpenAI's terms of service.

Health Check
Last commit

2 years ago

Responsiveness

Inactive

Pull Requests (30d)
0
Issues (30d)
0
Star History
2 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.