Unable to log in with WebId-TLS

Open
#1,593 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

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

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.

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)

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

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.

More from nodeSolidServer/node-solid-server

All issues in nodeSolidServer/node-solid-server

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.