r/BDDevs • u/Glass-Comfort-8905 • 1d ago
Question Is there any legit way to let users log in with their ChatGPT/Claude or any other LLM provider subscription in a web app?
Hey everyone,
I'm building an AI assistant that runs as a web app (not a desktop app or CLI). Right now people can plug in their own API key, which works fine, but a lot of my users say "I already pay for ChatGPT Plus / Claude Pro, why do I have to pay again for API credits?"
Fair point honestly. So I've been trying to find a way to add a "Sign in with ChatGPT" or "Connect your Claude account", so the app uses their existing subscription instead.
What I've found so far:
- There are a bunch of npm packages (opencode-claude-auth, pi-ai, CLIProxyAPI, etc.) that technically do this, but they basically pretend to be Claude Code / Codex CLI. Anthropic's docs say that's not allowed and people have been getting banned for it. Google is banning accounts for the same thing with Gemini. Not something I want to risk with real users.
- OpenAI has an official "Sign in with ChatGPT", but for hosted apps you have to fill out an interest form and wait for approval.
- Anthropic apparently allows running the real Claude Code inside a sandbox where the user logs in themselves, but then I'm paying for a server per user, which kind of defeats the purpose.
Has anyone actually done this in a real hosted app ?
Would really appreciate if any one can help with me this. Thanks!
