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

can't sign in #6323

Open
shilya-m opened this issue Dec 11, 2024 · 3 comments
Open

can't sign in #6323

shilya-m opened this issue Dec 11, 2024 · 3 comments
Assignees
Labels
bug Something isn't working question Further information is requested repo/cody

Comments

@shilya-m
Copy link

Version

1.48

Describe the bug

when I try to sign-in it shows dialog
'Signing in to Sourcegraph...' without cussess.
tested on different extension versions: 1.40, 1.42, ... 1.48

in browser 'accounts.sourcegraph.com/sign-in?redirect_to=..' i see error in console "index-18d16332.js:71 Uncaught ApolloError: value.toString is not a function
at new t (index-18d16332.js:71:152)"

i tested in chrome, edge, firefox - the same result.
i tried to clean browser cache, clean tokens by sourcegraph.com/user/settings/tokens.
without success.

Expected behavior

i expected to sign-in, but redirect url does nothing, only error in console

Additional context

No response

@shilya-m shilya-m added bug Something isn't working repo/cody labels Dec 11, 2024
Copy link

linear bot commented Dec 11, 2024

BUGS-962 can't sign in

@PriNova
Copy link
Collaborator

PriNova commented Dec 11, 2024

@shilya-m Thank you for reaching us out.

You are using VS Code and tried different kinds of Cody versions to get logged in, right? For you the login buttons are working on the Welcome Screen in Cody, but the URL sent to the browser errors out? What do you see on your browser? Is the screen blank or does it show a 404 error?

Meanwhile, you can use another sign-in method directly in Cody via the command palette and search for "Cody: Switch Account".
Choose the Sourcegraph URL and access token sign-in method.
As URL you input https://sourcegraph.com and then you paste your access token into the next field.

I'm curious if that worked for you.

Thank you

@PriNova PriNova self-assigned this Dec 11, 2024
@PriNova PriNova added the question Further information is requested label Dec 11, 2024
@Kynlos
Copy link
Collaborator

Kynlos commented Dec 19, 2024

Follow up:

Has this issue been resolved?

Thanks

-Kynlo

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested repo/cody
Projects
None yet
Development

No branches or pull requests

3 participants