fix: revert old oauth behavior and new default email provider
This commit is contained in:
parent
0af7179596
commit
6dd26ad3d8
7 changed files with 439 additions and 23 deletions
|
|
@ -52,6 +52,11 @@ Behavior:
|
|||
4. When usage reaches `CHATGPT_PREPARE_THRESHOLD`, service prepares `next_account`.
|
||||
5. When usage reaches `CHATGPT_SWITCH_THRESHOLD`, service switches active account to `next_account`.
|
||||
|
||||
## Disposable Email Provider
|
||||
|
||||
- Default provider is `mail.tm` API (`MailTmProvider`) and does not use browser automation.
|
||||
- Flow: fetch domains -> create account with random address/password -> get JWT token -> poll messages.
|
||||
|
||||
## Startup Behavior
|
||||
|
||||
On startup, service ensures active token exists and is usable.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue