> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aiveth.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Google, Microsoft and GitHub

> Let people sign in with their Google, Microsoft or GitHub account instead of a password.

Aiveth by Gooclaim can let people sign in with a Google, Microsoft or GitHub account. The provider account takes the place of the **password only**. Two-step sign-in, forced two-step set-up and your organization's network rules still apply.

Each provider is **off** until an admin turns it on.

## Turn a provider on

**1. Open sign-in methods**

In the console, go to **Security** → **Sign-in methods**. You need the `security:manage` permission.

**2. Turn on the providers you want**

Turn **Google**, **Microsoft** or **GitHub** on. Your organization's Owners are emailed about every change.

The sign-in card then shows a button for each provider that is on.

## Which addresses a provider vouches for

When someone signs in with a provider for the first time, Aiveth needs to know which account is theirs. It trusts the email address from the provider only when the provider actually runs that mailbox. Otherwise it sends an 8-digit code to the address first.

| Provider | Address trusted without a code | Everything else |
| - | - | - |
| Google | A verified `@gmail.com` address, or a Google Workspace account whose domain matches the address | Code sent to the address |
| Microsoft | An address the domain owner verified, or a personal Microsoft account on Microsoft's own domains (such as outlook.com, hotmail.com, live.com) | Code sent to the address |
| GitHub | Never | Code sent to the primary, verified address |

This matters because anyone can put any address on their own Microsoft tenant or add a stale address to a Google account. Aiveth never lets a provider's unchecked address open someone else's account.

> [!NOTE]
>
> For Microsoft, Aiveth identifies the account by its tenant and object id, never by the email claim. For GitHub, it uses the permanent numeric user id, not the login name, and ignores `noreply.github.com` addresses.

## Account linking

A provider account is **linked** to one Aiveth account. After the first link, the person signs in with that provider without any code.

There are two ways a link is made:

* **At sign-in.** If the provider vouches for the address and an account in your organization has that address, Aiveth links them. If the provider does not vouch for it, Aiveth sends a code first and links after the code is entered.
* **From the account page.** A signed-in person goes to **Your account** → **Connected accounts** and chooses **Connect** next to the provider. This works with any address on the provider account, because the person has proven both sides. Aiveth asks them to sign in again if their session is not recent, and checks them again before linking.

To unlink, the person chooses **Remove** under **Connected accounts**. The person gets a security email each time a provider account is connected or removed.

A provider account can be connected to only one person in your organization.

## New people

For an invitation-only organization, signing in with a provider never creates an account: only people already in your organization can use it.

When your organization lets people join (see [Sign-up](https://docs.aiveth.com/sign-in/sign-up.md)), someone new who arrives from one of your apps with a provider account follows your **Who can join** rule. They get an account, join a waiting list, or are told to ask an admin for an invitation. Your organization must have that provider turned on.

Someone who signs up on Aiveth's own page with Google or Microsoft creates a new organization, with that provider as their way in. They can add a password later.

## Errors people may see

| Message | Meaning |
| - | - |
| That account can't sign you in here. Use your password, or connect it from your account page first. | No linked account, the provider is off, or a rule blocked the sign-in. |
| This account signs in to more than one organization. Sign in from your organization's app. | The provider account is linked in several organizations. |
| Your organization hasn't turned on sign-in with Google. | The admin has not turned this provider on. |

## Related

* [Sign-in methods](https://docs.aiveth.com/sign-in/methods.md)
* [Two-step sign-in](https://docs.aiveth.com/sign-in/two-step.md)
* [Single sign-on](https://docs.aiveth.com/sign-in/single-sign-on.md) for organizations that use their own identity provider


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.