FusionAuth
    • Home
    • Categories
    • Recent
    • Popular
    • Pricing
    • Contact us
    • Docs
    • Login

    Can I offer "login with yahoo" using FusionAuth?

    Scheduled Pinned Locked Moved Solved
    Q&A
    yahoo login federation social logins
    1
    2
    2
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • danD
      dan
      last edited by

      I'd like to off a "Login with Yahoo!" button. Can I use FusionAuth to do so?

      --
      FusionAuth - Auth so modern you can download it.
      https://fusionauth.io

      danD 1 Reply Last reply Reply Quote 0
      • danD
        dan @dan
        last edited by dan

        Yes. You can use FusionAuth's OpenID Connect Identity Provider.

        I did this a few weeks ago, so am writing these instructions from memory.

        Prerequisites:

        • A yahoo account
        • A running FusionAuth instance (localhost is fine)

        Steps:

        • Go to the Yahoo! developer network and create an app.
        • The redirect URI for Yahoo is https://<your instance>/oauth2/callback
        • Save off the provided Client ID (Consumer Key) and Client Secret (Consumer Secret).
        • Then go to FusionAuth and create an OpenID Connect Identity Provider: <your instance>/admin/identity-provider/add/OpenIDConnect
        • Put the Client ID (Consumer Key) and Client Secret (Consumer Secret) into the Client Id and Client secret fields, respectively.
        • Uncheck Discover Endpoints. Manually configure the endpoints:
          • Set the Authorization Endpoint to https://api.login.yahoo.com/oauth2/request_auth
          • Set the Token Endpoint to https://api.login.yahoo.com/oauth2/get_token
          • Set the Userinfo Endpoint to https://api.login.yahoo.com/openid/v1/userinfo
        • Set the Scope to openid email profile and any other scopes you might need. (I was unable to find an authoritative list, but here's info about the mail scopes.)
        • Update the Button text and Button image as needed.
        • Enable it for applications as needed.
        • Save the Identity Provider.

        --
        FusionAuth - Auth so modern you can download it.
        https://fusionauth.io

        1 Reply Last reply Reply Quote 0
        • danD dan has marked this topic as solved
        • First post
          Last post