Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Auth constantly got reset #43

Closed
agordeev opened this issue Jan 6, 2023 · 7 comments
Closed

Google Auth constantly got reset #43

agordeev opened this issue Jan 6, 2023 · 7 comments

Comments

@agordeev
Copy link

agordeev commented Jan 6, 2023

I use Google Chrome and my Google account to authenticate. However, with each new session, my auth got reset. Google Chrome launched as a brand new browser. Is there any fix for this?

@gencay
Copy link
Owner

gencay commented Jan 6, 2023

Hi @agordeev, thanks for engaging! I've never heard of this issue. Could you elaborate a bit more on 'each new session'? Do you get a new Chrome window after every question? Could you try using a proxy server?

@agordeev
Copy link
Author

agordeev commented Jan 7, 2023

Thanks for the quick answer!

Could you elaborate a bit more on 'each new session'?

A new session with ChatGPT in VSCode.

Do you get a new Chrome window after every question?

No. But every day I get a new Chrome window with my Google account signed out.

@DataScientistMSBA
Copy link

I am experiencing the same issue. It would be nice to be able to stay logged in. Unfortently, it doesn't seem the at API option is working well right now either from my experience (see other issue)

@gencay
Copy link
Owner

gencay commented Jan 11, 2023

A new incognito browser is spawned on every login attempt thus the browser won't remember your saved passwords/login credentials. One thing I can think of to reduce the friction is you can store your email address and password in settings just like the standard openai login method, for google/microsoft logins. Currently the auto-fill only works with standard openai login flow.

Would it suffice your scenarios? I can look into implementing that soon. @DataScientistMSBA @agordeev

@DataScientistMSBA
Copy link

@gencay, I prefer to use the API route but the issue with the login methid is that I am using Google to login and don't have a password with OpenAI directly. So everytime I open up your extention, I have to manually login using that method.

@agordeev
Copy link
Author

I use Google auth with 2FA enabled, so I have to open YouTube app on my phone and confirm a login every time.

@gencay
Copy link
Owner

gencay commented Jan 15, 2023

Hi @agordeev, I couldn't implement a way to use puppeteer with your default profile. Puppeteer with default Chrome profiles is problematic. It's a WIP, however I can't guarantee it.

However, I was able to add Google/Microsoft authentication flows to the extension to help you autofill the email/password if you prefer. You will now have an option to choose your Authentication Type thru settings (see below). This will help reduce the friction with autologin for Google/Microsoft auth providers.

This feature is now available on v3.2.0 on marketplace. fyi @agordeev @DataScientistMSBA

image

gencay added a commit that referenced this issue Jan 15, 2023
@gencay gencay closed this as completed Jan 15, 2023
PeterDaveHello added a commit to PeterDaveHello/vscode-chatgpt that referenced this issue Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants