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.

posta un anno fa358 visualizzazioni
2 Risposte
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
ESPERTO
con risposta un anno fa
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
TECNICO DI SUPPORTO
con risposta un anno fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande