nodeSolidServer / nodeSolidServer/node-solid-server

Solid create does not clean /.db/oidc/op - Web error: 403 (Forbidden) on PATCH

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

Nobody has claimed this yet.

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

Description

Web error: 403 (Forbidden) on PATCH of https://"user"/profile/card

You have a running version of node-solid-server
you re-build it for any reason same or increase version

after logging to your existing pod.
edit your card you got the above error.

To solve that you need to clear _keys in /.db/oidc/op/subfolders (/clients, /codes, /refresh, /tokens)

This should be done at server creation
It can also solve issue #968

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 tracing server creation and how /.db/oidc/op subfolders are initialized or retained across rebuilds. Reproduce the existing-pod flow, edit the profile card, and verify that PATCH no longer returns 403 after the OIDC state is handled as described.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
authentication, backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.