# Sign in with Google, Discord or GitHub

> How to link a social sign-in to the account you already have, why WxAlerts asks you to, and how to unlink one.

Accounts · How-to guide · https://wxalerts.org/docs/accounts/sign-in/

You can sign in to WxAlerts with an email and password, or with Google,
Discord or GitHub. One account can have several of these linked, and any of
them signs you in to the same account.

## If you signed up with a password

Signing in with Google (or Discord or GitHub) for the first time does not join
your existing account, even when the email matches. You will see:

> Request to authenticate with Google has been denied. Please authenticate
> with the source you've previously signed up with.

This is on purpose. If a matching email were enough, anyone who got hold of a
social account carrying your address would be signed in as you.

To use Google from now on, link it once:

1. Sign in with your email and password. If you have forgotten the password,
   use **Forgot password** on the sign-in page.
2. Open the [Account](/account/#account) page and find **Social sign-in**.
3. Press **Link** next to Google. You may be asked to sign in to WxAlerts
   again, and then Google asks you to pick an account.
4. You come back to your account, and Google shows as linked.

After that, **Sign in with Google** on the sign-in page signs you in to this
account.

The same steps link a second social sign-in to an account you created with
Google, Discord or GitHub.

## Things to know

- **The Google account you pick is the one that gets linked.** Its email
  does not have to match your WxAlerts email.
- **A social account can belong to only one WxAlerts account.** If the Google
  account you pick is already linked to a different WxAlerts account, you
  are signed in to that account instead and nothing is linked. Sign out,
  sign back in with the account you meant, and pick a different Google account.
- If you see "Nothing was linked" on the Account page, the sign-in at
  auth.wxalerts.org was for a different WxAlerts account than the one you are
  looking at. Sign out, sign back in with the right account, and press
  Link again.

## Unlinking

Press **Unlink** next to a linked sign-in. You can no longer sign in
with it afterwards, and you can link it again at any time.

Unlink is not offered when that sign-in is your only way in. If you
created your account with Google, Discord or GitHub, keep at least one of them
linked. Link another first if you want to remove the one you have.
