Skip to content

Authentication fails #213

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

Open
telepaats opened this issue Mar 20, 2025 · 7 comments
Open

Authentication fails #213

telepaats opened this issue Mar 20, 2025 · 7 comments
Labels
auth bitbucket This is related to Bitbucket enhancement New feature or request remote-env Relate to Remote based VSCode runtimes

Comments

@telepaats
Copy link

Describe the bug
Im trying to auth, but got asked to enter some kind of base url.
I can enter https://bitbucket.org/ or with project added.
then prompts to open external website.
opens tab with this in address - http://127.0.0.1:31415/bbcloud?code=5quRwrchKjwMqn6XXx&state=566edb0c-972d-4463-bf62-4de9b7071271

and thats it. Im stuck

Expected behavior
I expect it to work like it did before, after log in button press window opens and i can log in bitbucket

Screenshots

Image

Environment and Version (please complete the following information):

  • Atlassian Plugin Version (3.4.13)

  • Windsurf Version: 1.5.6
    Codeium Version: 1.40.2
    Codeium Commit: 164066c0badcfdea724847b1a24fd88eb96f9510
    VSCode OSS Version: 1.94.0 (user setup)
    Commit: 164066c0badcfdea724847b1a24fd88eb96f9510
    Date: 2025-03-15T10:19:09.775Z (5 days ago)
    Electron: 30.5.1
    ElectronBuildld: undefined
    Chromium: 124.0.6367.243
    Node.js: 20.16.0
    V8: 12.4.254.20-electron.0
    OS: Windows_NT x64 10.0.22631

  • Is this a local or cloud environment? (Local)

  • If Cloud, Browser (chrome, safari)

  • If Local, OS (windows WSL)

Additional context
It worked before like month ago

@bwieger-atlassian-com bwieger-atlassian-com added bug Something isn't working bitbucket This is related to Bitbucket auth labels Mar 20, 2025
@bwieger-atlassian-com
Copy link
Collaborator

@telepaats can you tell me more about the environment you are working in?

It sounds like you are running Windsurf (which I assume you downloaded from here: https://codeium.com/windsurf )
Is there anything else that you did to set up your environment?

And can you share a screenshot of what your authentication section of settings looks like? Here is an example of mine (I suspect yours will look a bit different):

Image

@bwieger-atlassian-com
Copy link
Collaborator

@telepaats I just tried with the latest version of our extension (3.4.13).

  1. I downloaded windsurf
  2. I installed Atlassian
  3. I signed in to Bitbucket using the "Other Options"
  4. I signed in to Bitbucket using the "Login To Bitbucket Cloud"
  5. This all worked okay. But, I'm going to try putting VSCode into a DevContainer to simulate a remote environment. Perhaps something has gone wrong here.

In the meantime, if you haven't already, can you "Delete" the authentications that you have and retry?

The "Delete" is the trash can on the far right of the screenshot I posted above.

@bwieger-atlassian-com
Copy link
Collaborator

I tried using remote development environment, and I was able to see the same as you.

Double checking with the team, this is the expected behavior for remote development (container-ized) IDEs at the moment.

It's a known short-coming and we have a team looking into solving this.

If you using windsurf outside of a container-ized environment, you should have access to this.

@bwieger-atlassian-com bwieger-atlassian-com added enhancement New feature or request remote-env Relate to Remote based VSCode runtimes and removed bug Something isn't working labels Mar 20, 2025
@telepaats
Copy link
Author

@bwieger-atlassian-com I see. I had suspicion that this might be the case. Oh well, thank you for your help! Wish you luck! :)

@bwieger-atlassian-com
Copy link
Collaborator

@telepaats Thanks for the best wishes. I'll post back here when we fix this. Re-opening so it doesn't get lost and we can keep a line of communication.

@pottsdl
Copy link

pottsdl commented Mar 25, 2025

I'm also seeing this authentication failure, but for a direct "on Windows" instance of VS Code, with v3.4.17 of the Jira and Bitbucket Extension.

JIRA authentication (to different URL, but same back end authentication) works fine, just BitBucket that has the issue.

Image

This is the authentication error, and since it didn't succeed it goes back to showing "no sites":

Image

@aliceroherty
Copy link

I'm also seeing this authentication failure, but for a direct "on Windows" instance of VS Code, with v3.4.17 of the Jira and Bitbucket Extension.

JIRA authentication (to different URL, but same back end authentication) works fine, just BitBucket that has the issue.

Image

This is the authentication error, and since it didn't succeed it goes back to showing "no sites":

Image

I am having this same issue when attempting to authenticate with my orgs self-hosted Bitbucket server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auth bitbucket This is related to Bitbucket enhancement New feature or request remote-env Relate to Remote based VSCode runtimes
Projects
None yet
Development

No branches or pull requests

4 participants