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.

demandé il y a un an358 vues
2 réponses
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
EXPERT
répondu il y a un an
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
INGÉNIEUR EN ASSISTANCE TECHNIQUE
répondu il y a un an

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions