nodeSolidServer / nodeSolidServer/node-solid-server

[Question] How to access the created popup.html

Open
#902 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Hey Guys

Recently i tried to access my popup.html (located in the root of the server) with:

solid.auth.popupLogin({ popupUri: 'https://localhost:8443/popup.html' }) from my app.

But now i get an error which says:

The resource you are trying to access (https://localhost:8443/popup.html) requires you to log in.

And when im logged in:

You are currently logged in as https://adminjerome.localhost:8443/profile/card#me, but do not have permission to access https://localhost:8443/popup.html

I also create an popup.html.acl file in the directory with the following lines:

@prefix acl:    <http://www.w3.org/ns/auth/acl#>.
@prefix foaf:   <http://xmlns.com/foaf/0.1/>.

<#public>
    a               acl:Authorization;
    acl:agentClass  foaf:Agent;                               # everyone
    acl:mode        acl:Read;                                 # has Read-only access
    acl:accessTo    <https://localhost:8443/popup.html>.      # to the public profile

Informations:

Now my Question:

  • How can i give public access to that created popup.html
  • Why does the "normal" popup.html located in: common/popup.html don't need an .acl file?
  • Bonus: Is there an unminified-popup.html ?

Greetings
Jerome

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 comparing the created popup.html and popup.html.acl with common/popup.html, then read the solid-auth-client setup referenced in the issue. Document how public access should be configured, why common/popup.html behaves differently, and whether an unminified version exists.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, nodejs
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.