Amplify Bitbucket sign to different account

0

When creating a hosted Amplify solution, the UI asked you where to get the repo is hosted, git, bitbucket, etc. Once you pick one it will go out and log you in.

How do I change the bitbucket server I'm signed into? I want to change from a personal one to a work bitbucket server.

I've tried clearing all data in the browser - no luck.

질문됨 일 년 전358회 조회
2개 답변
0

To change the Bitbucket account used in AWS Amplify, you typically need to:

  • Log out of the current Bitbucket account in your web browser.
  • Clear your browser's cache and cookies.
  • Go to AWS Amplify and connect the repository again. This time, it should prompt you to log into your Bitbucket account.
profile picture
전문가
답변함 일 년 전
0

Hello,

Amplify automatically authenticates with logged in Bitbucket account, hence sign in to your work Bitbucket account and try any of the following approaches.

  1. If you have branches attached of your personal account repository, disconnect all the existing branches, and now select Bitbucket under Hosting environments. This would authenticate with your work account Bitbucket and list the repositories of it.

  2. Alternatively you can use update-app cli command and use the “Reconnect repository” button on the console.

aws amplify update-app —app-id AMPLIFY_APP_ID —repository REPOSITORY_URL --oauth-token TOKEN

AWS
지원 엔지니어
답변함 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠