Please add ChatGPT OAuth Codex via Device Code
I'd really love to see this impemented.
One thing worth considering is the existing implementation in RikkaHub. It already supports ChatGPT subscription authentication through Codex Device Authorization, including token refresh, model discovery and streaming Responses API support.
Reference: https://github.com/rikkahub/rikkahub/pull/1752
Ideally, LastChat could support both authentication methods within the existing OpenAI provider configuration:
API Key: Keep the current functionality unchanged.
ChatGPT Subscription: Allow users to authenticate their ChatGPT account through the device code OAuth flow and use their subscription backed Codex models.
This would be particularly useful for users who already have ChatGPT subscriptions and want to use them in a third party Android client without relying on the official ChatGPT application.
It would also be great if the integration preserved LastChat's existing provider and model customization features.
Hey, I'm not a dev of this project but I'm pretty sure the next release will include this as I've compiled a build myself from the dev branch to preview some of the upcoming changes and it seems to be there
Hey, I'm not a dev of this project but I'm pretty sure the next release will include this as I've compiled a build myself from the dev branch to preview some of the upcoming changes and it seems to be there
Thanks for sharing this.
I've been hoping to see ChatGPT subscription support in LastChat for a while now.
Really looking forward to the next release.
Appreciate you taking the time to compile and share a preview of the upcoming changes.