NodeBB / NodeBB/nodebb-plugin-sso-oauth2-multiple

oAuth2 SSO with Yahoo! fails

Open
#60 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
14
Forks
9
Avg merge
1m
Merged PRs (30d)
7

Description

I tried to use this plugin with Yahoo!'s oAuth2. It seems to connect to Yahoo with auth request, but strangely I got an JSON object back:

{"error":{"localizedMessage":"not found","errorId":"NOT_FOUND","message":"not found"}}

This is the Yahoo guide I followed. I configured the Authorization URL (https://api.login.yahoo.com/oauth2/request_auth/), Token URL (https://api.login.yahoo.com/oauth2/get_token), Client ID, Client Secret.

With the default scope (openid email profile), I chose "Confidential Client - Choose for traditional web apps" as oAuth Client Type and selected (OpenID Connect Permissions: Email + Profile) for API Permissions on Yahoo!.

Am I doing it right? Has anyone been able to get Yahoo! oAuth2 to work with this plugin?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the plugin's OAuth2 endpoint configuration and compare it with Yahoo's OAuth2 guide, especially the authorization and token URLs and requested scopes. Reproduce the Yahoo login flow and inspect the returned JSON; done means Yahoo authentication completes successfully instead of returning the NOT_FOUND error.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
authentication
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.