Docs

Add Yahoo Login to Your App

Add Yahoo Login to Your App

This guide will show you how to add functionality to your web app that allows your users to log in with Yahoo.

1. Set up your app in Yahoo

Yahoo Account

Before proceeding, you will need a valid Yahoo User ID. If you don’t have a Yahoo account, you must create one with Yahoo.

Go to Yahoo Developer Apps and click on the Create an App button to launch the app-creation screen. You will be asked for the following parameters:

Parameter Value
Application Name A friendly name for your application.
Application Type Web Application
Redirect URI(s) https://YOUR_DOMAIN
API Permissions Profiles (Social Directory) (and its subset of available app permissions, e.g., read, read/write). You may select additional API permissions, but you must include this option to ensure that Yahoo returns the user's email address.

Find your Auth0 domain name for redirects

If your Auth0 domain name is not shown above and you are not using our custom domains feature, your domain name is your tenant name, plus .auth0.com. For example, if your tenant name were exampleco-enterprises, your Auth0 domain name would be exampleco-enterprises.auth0.com and your redirect URI would be https://exampleco-enterprises.auth0.com/login/callback.

If you are using custom domains, your redirect URI will have the following format: https://<YOUR CUSTOM DOMAIN>/login/callback.

When done, click Create App to proceed. Once the application is created, Yahoo will show you your Client ID (Consumer Key) and Client Secret (Consumer Secret). Copy these values, because you will use them to set up the connection in Auth0.

2. Create and enable a connection in Auth0

Set up the Yahoo! social connection in Auth0. Make sure you have the Client ID and Client Secret generated in Step 1.

3. Test the connection

You're ready to test your connection.