Improve the configuration experience for Bitbucket repositories.

Review Request #343 - Created Jan. 19, 2017 and updated

guest4958
Review Board
d5524c1...
guest4958
The Bitbucket configuration experience confuses some users. Since
Bitbucket moved to a standardized Atlassian e-mail-based system for
logging in, people often try to use their e-mail addresses to link up
with the account. However, with Bitbucket, the API actually expects a
Bitbucket username, and providing an e-mail address ends up triggering
an unexpected HTTP error code, which we weren't handling.

On top of this, users who had two-factor authentication could not log
in with their standard password, which confused some users. This was
made worse by the fact that Bitbucket provides no reasonable error in
this case. Users need to use app-specific passwords, which wasn't
obvious, and is buried in a document somewhere on the Bitbucket support
portal.

We now provide a custom authentication form, which gives useful
instructions on authenticating, spelling out exactly what's needed for
both the username and password.

One additional improvement has to do with adding other users'
repositories. We previously only offered support for adding your linked
user's repository or a team repository. We now offer an option for
choosing another user. That takes care of some customer confusion we've
had in the past.

Testing Done:
Tested the Other User option manually.

Tested with two-factor auth enabled and using both app passwords (which
work) and standard Bitbucket passwords (which do not, and fail gracefully
now).

Checked the help output for the different choices.

Unit tests pass.

Reviewed at https://reviews.reviewboard.org/r/8597/

  
  • 2
  • 0
  • 0
  • 2
Description From Last Updated
aa guest4552 guest4552
bad guest5177 guest5177
guest3175
  1. testing text of review

    1. a

guest4552
  1. 
      
    1. aa

    2. a

    3. aa

guest4552
  1. 
      
guest5177
  1. test

guest5177
  1. Ship It!
guest5177
  1. bad idea

Loading...