mpociot / chatgpt-vscode

A VSCode extension that allows you to use ChatGPT

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

timkmecl opened this issue · 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)

commented

Up, @timkmecl fork works like a charm

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

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.

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.