From 0fea0b6a9a4a0e9818c576f2ab95d6e5fa5f3f02 Mon Sep 17 00:00:00 2001 From: Travis Fischer Date: Wed, 22 Feb 2023 17:07:52 -0600 Subject: [PATCH] docs: tweak wording --- legacy/readme.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/readme.md b/legacy/readme.md index 82b38dc3..e304db4d 100644 --- a/legacy/readme.md +++ b/legacy/readme.md @@ -314,13 +314,13 @@ Note: info on how the reverse proxies work is not being published at this time i #### Access Token -To use `ChatGPTUnofficialProxyAPI`, you'll need a ChatGPT access token. You can either: +To use `ChatGPTUnofficialProxyAPI`, you'll need an OpenAI access token from the ChatGPT webapp. You can either: 1. Use [acheong08/OpenAIAuth](https://github.com/acheong08/OpenAIAuth), which is a python script to login and get an access token automatically. This works with email + password accounts (e.g., it does not support accounts where you auth via Microsoft / Google). 2. You can manually get an `accessToken` by logging in to the ChatGPT webapp and then opening `https://chat.openai.com/api/auth/session`, which will return a JSON object containing your `accessToken` string. -Access tokens last for ~8 hours (TODO: need to verify the exact TTL). +Access tokens last for ~8 hours. **Note**: using a reverse proxy will expose your access token to a third-party. There shouldn't be any adverse effects possible from this, but please consider the risks before using this method.