nodeSolidServer / nodeSolidServer/node-solid-server
[Question] How to access the created popup.html
Dieses Issue hat noch niemand übernommen.
- 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:
- Startet the server with
/usr/local/lib/node_modules/solid-server/bin/solid-test start - Created the File like they said in https://github.com/solid/solid-auth-client
Now my Question:
- How can i give public access to that created
popup.html - Why does the "normal" popup.html located in:
common/popup.htmldon't need an .acl file? - Bonus: Is there an unminified-popup.html ?
Greetings
Jerome
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Ö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