nodeSolidServer / nodeSolidServer/node-solid-server

Unable to log in with WebId-TLS

Open
#1,593 0 comments 0 reactions 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

When testing the login flow using WebId-TLS, I was unable to successfully log in using my certificate.

I configured the certificate such that it points to my pod in the subjectAltName, and added the public key information into my pod settings, all as outlined here

When I try using it to log in from firefox or chrome directly, I get this error:

Class constructor URL cannot be invoked without 'new'

When I try using the client certificate in postman to retrieve a private file, I receive a 401 response. (I'm not sure if this use case would even be expected to work, but I wanted to rule out browser issues)

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

Start by reproducing the WebId-TLS login flow in Firefox or Chrome and capture the Class constructor URL cannot be invoked without 'new' error. Then compare the browser result with the Postman client-certificate request and its 401 response. Done means the certificate-based login path is either working or the failure is narrowed to a specific authentication step.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.