Yahoo signs users in with their Yahoo account. Its user base skews toward long-lived consumer email addresses, which makes it a useful secondary connector on mainstream products.

## Copy the redirect URI

In the [Authdog console](https://console.authdog.com), select the project and environment, open **Authentication > Providers**, find **Yahoo**, and click **Enable**. Copy the redirect URI shown in the form:

```url
https://identity.authdog.com/api/v1/callback/<connectionId>
```

## Create the application

1. Open the [Yahoo Developer Network app page](https://developer.yahoo.com/apps/create/) and create an app.
2. Set the **Application Type** to **Web Application**.
3. Set the **Redirect URI** to the redirect URI from Authdog — Yahoo requires HTTPS.
4. Under **API Permissions**, enable **Profiles (Social Directory)** read access.
5. Copy the **Client ID (Consumer Key)** and **Client Secret (Consumer Secret)**.

## Configure Authdog

| Field | Value |
| --- | --- |
| **Client ID** | The client identifier from the provider |
| **Client Secret** | The client secret from the provider |

Save, then toggle the connection **active**.

## What Yahoo returns

Authdog requests the `openid profile email` scopes and reads the profile from `https://api.login.yahoo.com/openid/v1/userinfo`.

The userinfo endpoint returns the `sub` identifier, name, email, and email verification flag.

Yahoo rejects plain HTTP redirect URIs outright, so local development needs a public HTTPS host.

## Test it

1. Open your environment's hosted sign-in page, or link to `https://identity.authdog.com/api/v1/signin/<connectionId>`.
2. Select the Yahoo button and complete the flow.
3. Confirm the user appears under **Users** in the console with a Yahoo identity linked.

## Troubleshooting

| Symptom | Cause |
| --- | --- |
| `INVALID_REDIRECT_URI` | The redirect URI is not HTTPS, or does not match |
| `invalid_client` | Consumer key and secret come from different apps |
| Redirect or callback URL error | The URI registered with the provider does not match Authdog's exactly |
| Works in one environment only | Each environment has its own `connectionId`, and so its own redirect URI to register |

## Related

| Read | To learn how to |
| --- | --- |
| [Connectors](/docs/connectors) | Set up any other social provider |
