gragland / chatgpt-chrome-extension

A ChatGPT Chrome extension. Integrates ChatGPT into every text box on the internet.
MIT License
2.83k stars 455 forks source link

ChatGPT Login problem #26

Closed farooqbutt closed 1 year ago

farooqbutt commented 1 year ago

Hello, I would like to use this extension, however, I am unable to log in to my ChatGPT account using a password as I have set it up with Google Authentication. Could you please advise on what password I should set in the .env file? I have tried using my Google password, but it resulted in a failed authentication process and the headless browser was closed. Thank you, Farooq.

mysticalherbz commented 1 year ago

same problem

enok commented 1 year ago

here also

sharma14skss commented 1 year ago

In server.js add isGoogleLogin : true in line number 15, it will try to login with google account.

const gptApi = new ChatGPTAPIBrowser({ email: process.env.OPENAI_EMAIL, password: process.env.OPENAI_PASSWORD, isGoogleLogin: true });

maurop123 commented 1 year ago

https://github.com/gragland/chatgpt-chrome-extension/pull/27 will fix this issue

kvisalini commented 1 year ago

@sharma14skss I tried what you suggested. But, the Google Auth asked me to verify a code on my phone, but the login crashed on my browser quoting

throw new ChatGPTError("Failed to authenticate session");

Is there any kinda workaround?

gragland commented 1 year ago

Should be fixed now that I merged #27