Skip to content

Commit

Permalink
Merge pull request #591 from chromaui/more-faqs
Browse files Browse the repository at this point in the history
This faq is to document error: Authentication error
  • Loading branch information
winkerVSbecks authored Oct 30, 2024
2 parents 39b2e81 + fb1f587 commit 3475331
Showing 1 changed file with 34 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
---
layout: "../../../layouts/FAQLayout.astro"
sidebar: { hide: true }
title: How do I link my Git account to my Chromatic account?
section: account
---

# Link Git account to Chromatic account

## Link your Git account to your Chromatic account

If you registered your Chromatic account using an email and password, you can link it to a Git provider like GitHub or BitBucket.

1. Open the Profile page: https://www.chromatic.com/profile
2. Below `Connect`, tab the Git provider of your choise and follow the steps on Git side to authorize Chromatic to link both users.

You can connect to more than one Git provider.

### Error when trying to connect a Git account

If you encounter an `Authentication error: Failed to login as OAuth user` while trying to connect to a Git account, it means a Chromatic account already exists with that particular Git account. You probably created that account by mistake, so you can delete it:

1. Log out of your current account
2. Go to the login page: https://www.chromatic.com/start
3. Press Connect with the Git provider. Pick of your choice and access the second account.
4. Open the Profile page: https://www.chromatic.com/profile
5. Scroll down and [remove the user](/docs/faq/delete-my-profile/).

Then go back to the initial account and try to connect the Git account via the profile page.

## Unlink your Git account

1. Open the Profile page: https://www.chromatic.com/profile
2. Press `Disconnect`

0 comments on commit 3475331

Please sign in to comment.