mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[GH-ISSUE #451] [Feature]: ChatGPT style login #199
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#199
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @brandonm4 on GitHub (May 6, 2026).
Original GitHub issue: https://github.com/Pasta-Devs/Marinara-Engine/issues/451
Originally assigned to: @SpicyMarinara on GitHub.
What problem does this solve?
This would allow users to utilize OpenAI/ChatGPT using their ChatGPT logins instead of an API Key.
Proposed solution
Create an openai - chatgpt - oauth provider. On the connection page you will click a login button which will provide you with the device code and then open the openai oauth login screen. Once logged in you provide the device code and it links Marinara-Engine as a ChatGPT device. This is the way Codex and other apps do it. I referenced the Codex source and followed the way they did it.
Additional context
I have it working - I have created a provider and wired it into the openai.providers.ts, connections.routes.ts, and created a openai-chatgpt.provider.ts. I could provide a pull request if there is interest.
Template check
Please uncheck (untick) the box below before submitting so we know you read the template. It is intentionally pre-checked:
@cha1latte commented on GitHub (May 6, 2026):
Triage note: labeling this as
scope-riskbecause ChatGPT-style login would add a new authentication path with provider/security/maintenance implications beyond the existing API-key connection flow.Least risky next step is to get a maintainer decision on whether this auth model is supported before accepting or building the provider changes.
@SpicyMarinara commented on GitHub (May 10, 2026):
We have a similar implementation for Anthropic with Claude Max; we'll do it the same way in Connections, but for the OpenAI endpoint.
@SpicyMarinara commented on GitHub (May 10, 2026):
Implemented the ChatGPT-style OpenAI connection path following the existing Claude Subscription pattern in Connections.
What changed:
Validation: