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

Not support login by 'Continue With Google' #7

Open
StarryTang opened this issue Dec 22, 2022 · 11 comments
Open

Not support login by 'Continue With Google' #7

StarryTang opened this issue Dec 22, 2022 · 11 comments

Comments

@StarryTang
Copy link

image

@StarryTang
Copy link
Author

When I log in through 'Continue With Google',it ask that the current browser is not secure and I cannot log in.

@KrunchMuffin
Copy link

same

Couldn’t sign you in
This browser or app may not be secure.
Try using a different browser. If you’re already using a supported browser, you can try again to sign in.

@LiLittleCat
Copy link
Owner

@StarryTang @KrunchMuffin Sorry for the late reply, it seems that Google does not think JCEF is safe, I will ask the JetBrains team to see how to solve this.

@emahuni
Copy link

emahuni commented Dec 28, 2022

Can we just enter the token into the settings as an alternative?

one can get the token through https://chat.openai.com/api/auth/session, but when i do it still wants me to login.

@LiLittleCat
Copy link
Owner

LiLittleCat commented Dec 28, 2022

@emahuni, Of course, you can, but the token you get through https://chat.openai.com/api/auth/session is an access token for a session. The token needed to enter in settings is a session token, you can get a session token by the steps:

  1. Go to https://chat.openai.com/chat and log in or sign up.
  2. Open dev tools.
  3. Open Application > Cookies.
    pSSKdmR.png
  4. Copy the value for __Secure-next-auth.session-token as settings value.
    pSSK6pD.png

After you enter the session token, you need to restart the IDE because ChatGPT Tool Windows needs a restart, and you won't need to log in until the session token is expired.

@emahuni
Copy link

emahuni commented Jan 7, 2023

@emahuni, Of course, you can, but the token you get through https://chat.openai.com/api/auth/session is an access token for a session. The token needed to enter in settings is a session token, you can get a session token by the steps:

  1. Go to https://chat.openai.com/chat and log in or sign up.
  2. Open dev tools.
  3. Open Application > Cookies.
    pSSKdmR.png
  4. Copy the value for __Secure-next-auth.session-token as settings value.
    pSSK6pD.png

After you enter the session token, you need to restart the IDE because ChatGPT Tool Windows needs a restart, and you won't need to log in until the session token is expired.

Sweet! it works

@LiLittleCat LiLittleCat pinned this issue Feb 13, 2023
@emahuni
Copy link

emahuni commented Mar 29, 2023

I updated Webstorm to the latest and it updated your plugin, now there is nowhere to enter that token anymore, just url something something. what happened?

@LiLittleCat
Copy link
Owner

I updated Webstorm to the latest and it updated your plugin, now there is nowhere to enter that token anymore, just url something something. what happened?

Hi @emahuni, I wanted to let you know that I removed the token settings because it was causing an issue, but unfortunately, I wasn't able to find a solution for it. You can see more details about the problem in this GitHub issue: #16 (comment).

I was wondering, are you using a Google account to log in to the official website? If the token settings are necessary, perhaps I should bring them back and work on finding a solution to the issue.

@jmigliavacca
Copy link

Yes, it's needed. I cannot log in otherwise. If I use google, it won't let me in because of browser security concerns, and openai doesn't let me change the authentication method.

@emahuni
Copy link

emahuni commented Mar 30, 2023

Yes, it's needed. I cannot log in otherwise. If I use google, it won't let me in because of browser security concerns, and openai doesn't let me change the authentication method.

Exactly

@skorpions2000
Copy link

I noticed your dialog, don't know if it's related?... I described my problem here... #28 Unfortunately the plugin doesn't work at all...

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

6 participants