nodeSolidServer / nodeSolidServer/node-solid-server

[Question] How to access the created popup.html

Offen
#902 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

question
Vorherrschende Sprache
JavaScript
Sterne
1.8k
Forks
308
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
  3. Forke das Repository und arbeite in einem Branch.
  4. Öffne einen Pull Request, der die Issue-Nummer nennt.

Rechercherichtung

Beginne damit, die erstellten popup.html und popup.html.acl mit common/popup.html zu vergleichen, und lies anschließend das im Issue referenzierte Setup von solid-auth-client. Dokumentiere, wie der öffentliche Zugriff konfiguriert werden sollte, warum sich common/popup.html anders verhält und ob eine unminifizierte Version existiert.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
javascript, nodejs
Bereich
documentation
Issue-Typ
Dokumentation
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
15/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.