• 0
Votes
name

A PHP Error was encountered

Severity: Notice

Message: Undefined index: userid

Filename: views/question.php

Line Number: 191

Backtrace:

File: /var/www/html/cnasolution/application/views/question.php
Line: 191
Function: _error_handler

File: /var/www/html/cnasolution/application/controllers/Questions.php
Line: 419
Function: view

File: /var/www/html/cnasolution/index.php
Line: 315
Function: require_once

I currently have bitbucket cloud connected to azure-devops using OAuth authentication as described in the doc - https://docs.microsoft.com/en-us/azure/devops/pipelines/repos/bitbucket?view=azure-devops&tabs=yaml

I want to enable 2 step verification on BitBucket - https://support.atlassian.com/bitbucket-cloud/docs/enable-two-step-verification/

Can someone please let me know what changes are required on Azure Devops to enable it to connect to bitbucket using 2 step verification and how will I go about getting this setup

Any help appreciated! Thanks!

Download script demo [LINK]
Download script demo [LINK 2] Download script demo [LINK 2]

How to connect azure devops and bitbucket using 2 step verification

As we know, enable two-step verification will improve protection of user accounts. However, enabling two-step verification (2SV) complicates cloning, pulling and pushing to repositories of the account, if they are accessed over HTTPs.

So, if we use SSH to access the repositories, nothing changes after enabling two-step verification.

If you use HTTPs access, after 2SV is enabled you will need to configure an Access token (BitBucket calls it app password) and use it to authenticate. When prompted for credentials, either enter token as username and leave the password field empty or use the token instead of your password.

App passwords are substitute passwords for a user account which you can use for scripts and integrating tools to avoid putting your real password into configuration files.

App passwords are designed to be used for a single purpose with limited permissions, so they don't require two-step verification (2SV). This means app passwords can be used by users with 2SV make API calls to their Bitbucket account, and to integrate Bitbucket with other tools like Sourcetree and Bamboo.

see demo
  • 0
Reply Report