chatgpt-vscode icon indicating copy to clipboard operation
chatgpt-vscode copied to clipboard

"This browser or app may not be secure" when logging in [with potential fix]

Open timkmecl opened this issue 1 year ago • 4 comments

When trying to log in with Google, I got a warning "This browser or app may not be secure". Therefore I couldn't sign in. The source of this issue is not in this repo, but in the chatgpt-api repo.

They avoid the problem in v1.0.0 of the chatgpt-api, which uses a session token from https://chat.openai.com to authenticate. I tried upgrading this code to use the new version (session cookie is passed to the extension from vscode settings) and it now works.

Checkout https://github.com/timkmecl/chatgpt-vscode (to just install the extension without compiling see Releases)

timkmecl avatar Dec 05 '22 21:12 timkmecl

Up, @timkmecl fork works like a charm

gabkk avatar Dec 07 '22 06:12 gabkk

I really like your fork @timkmecl. I dont have experience creating vscode extensions so im not really sure how to do it, but can i suggest adding a feature to allow follow up requests? I like being able to ask a question, then ask follow up questions

ljrahn avatar Dec 07 '22 22:12 ljrahn

Thank you! @lucasrahn09: I am currently working on this actually. At the time of my extension's last update, chatgpt-api didn't support this functionality yet, however from v2.0 on it does. Hopefully it will be implemented in my fork by tomorrow, I will post an update then.

timkmecl avatar Dec 08 '22 18:12 timkmecl

I really like your fork @timkmecl. I dont have experience creating vscode extensions so im not really sure how to do it, but can i suggest adding a feature to allow follow up requests? I like being able to ask a question, then ask follow up questions

This feature is now implemented in my fork.

timkmecl avatar Dec 08 '22 21:12 timkmecl