app password

Issue #688 new
Jan Kouba created an issue

I have got announcement that Bitbucket will require app password. In my VS code I am logged through Atlassian Settings → Bitbucket → Authentication. The way to log in is just to be logged in browser, so I have no idea where to enter the required app password. Can you help please?

Comments (6)

  1. Ryan H Becker

    This might deserve a separate issue, but since I think @Jan Kouba is referencing the same situation, I’ll start here.

    In Atlassian’s deprecation announcement, they state …

    OAuth 2.0 Resource Owner Password Credentials Grant flow

    It will no longer be possible to perform the OAuth 2 Resource Owner Password Credentials Grant flow, since this requires an Atlassian account password. App developers should use one of our supported OAuth 2.0 flows to obtain access tokens.

    Can you confirm whether this plugin uses the impacted flow?

  2. Tim Kist

    I have the same issue and I cloned via the bitbucket.org dashboard by clicking on Clone in VS Code however I have submodules and my public key isn’t registered (used for open source projects).

  3. Jan Kouba reporter

    I still use committing over HTTPS and it works even after 1st of March, so not sure if the restriction has been applied or not? Here is the log from Terminal in VS Code

    PS C:\xampp\htdocs\****> git push -u origin master

    Writing objects: 100% (3/3), 432 bytes | 432.00 KiB/s, done.
    Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
    remote:
    remote: You are using an account password for Git over HTTPS.
    remote: Beginning March 1, 2022, users are required to use app passwords
    remote: for Git over HTTPS.
    remote: To avoid any disruptions, change the password used in your Git client
    remote: to an app password.
    remote: Note, these credentials may have been automatically stored in your Git client
    remote: and/or a credential manager such as Git Credential Manager (GCM).
    remote: More details:
    remote: https://bitbucket.org/blog/deprecating-atlassian-account-password-for-bitbucket-api-and-git-activity
    To https://bitbucket.org/****.git

    • [new branch] master -> master

    Branch 'master' set up to track remote branch 'master' from 'origin'.

  4. Jan Kouba reporter

    When committing from VSCode I was now asked for password → filled in app password and it runs well now.

  5. Log in to comment