nodeSolidServer / nodeSolidServer/node-solid-server

`UserInfo` endpoint lookup never returns

Open
#1,490 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.8k
Forks
308
PR merge metrics
No merged PRs in 30d

Description

As part of the OIDC login flow, during the backchannel exchange to get the access and id token (assuming you are in the auth code flow, but that's not relevant to the issue), one can perform a check against the UserInfo endpoint of the OIDC provider to check that the sub claim of the obtained ID token matches the one of the userinfo associated to the access token.

However, in the case of NSS, a lookup at https://inrupt.net/.well-known/openid-configuration shows that the userinfo endpoint exists, but a GET to https://inrupt.net/userinfo just hangs, and never get either a success or an error response. This prevents proper functioning of some OIDC libraries, and requires to be worked around. Should this be fixed in the NSS repo, or rather at the oidc-op level ?

Contributor guide

Open the contributing guide

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

Reproduce the hanging GET request at https://inrupt.net/userinfo and compare it with the advertised endpoint in https://inrupt.net/.well-known/openid-configuration. Trace whether NSS or oidc-op owns the UserInfo behavior; done means the endpoint returns either a success or an error response so OIDC libraries can complete their validation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.