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 able to login from vs code even after successful login from browser #860

Open
mohit-kaul-kr opened this issue Sep 28, 2023 · 14 comments

Comments

@mohit-kaul-kr
Copy link

Does this occur consistently?
Repro steps:

Version: 0.11.5
OS: win32
OS Release: 10.0.19045
Product: Visual Studio Code
Product Version: 1.82.2
Language: en

@alexweininger
Copy link
Member

Please add detailed steps to reproduce the issue.

Are you behind a proxy of any kind? Proxies often cause issues with sign-in. See the Unable to Sign In While Using a Proxy section of our wiki for possible fixes.

Also, see the Enable and View Logs section of the wiki for how to capture and share Azure Account extension logs.

@mohit-kaul-kr
Copy link
Author

mohit-kaul-kr commented Sep 28, 2023 via email

@mohit-kaul-kr
Copy link
Author

I’m trying to access event hub from vs code, I downloaded azure account extension and also event hub extension, when I try to login to my azure account it redirect me to browser login and after successful login on browser when I go back to vs code it won’t happen there, and again it ask me to sign in.

@alexweininger
Copy link
Member

Can you provide the Azure Account extension logs?

@mohit-kaul-kr
Copy link
Author

is there any doc to follow for enabling logs

@alexweininger
Copy link
Member

See the Enable and View Logs section of the wiki for how to capture and share Azure Account extension logs.

@aaronbir
Copy link

@mohit-kaul-kr try using Edge browser to authenticate. This worked for me

@alexweininger
Copy link
Member

It seems like something is being cached in your browser so as @aaronbir mentioned, please try with a different browser. Logging in/out or closing and reopening the browser may also help.

@mohit-kaul-kr
Copy link
Author

i already tried opening with different browser, uninstalling and installing vs code but i'm still getting same error, got login successfully on browser but it's not redirected and not successfully login on vs code

@mohit-kaul-kr
Copy link
Author

mohit-kaul-kr commented Oct 12, 2023

@alexweininger here are the logs as requested
logs.json

@alexweininger
Copy link
Member

Can you try using the "Sign In with Device Code" command? You can access it from the command palette using F1.

@mohit-kaul-kr
Copy link
Author

i tried using the command palette, it prompted me to do the sign on on the browser but the redirect still not working, still can't login on the vs code

@alexweininger
Copy link
Member

Did you try using the "Sign In with Device Code"?

@mohit-kaul-kr
Copy link
Author

mohit-kaul-kr commented Oct 19, 2023

yeah sorry i missed typing in above comment that i "Sign In with Device code" from command palette and it's still the same issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants