nodeSolidServer / nodeSolidServer/node-solid-server
[Question] How to access the created popup.html
Nadie ha tomado este issue todavía.
- Lenguaje dominante
- JavaScript
- Estrellas
- 1.8k
- Forks
- 308
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Línea de trabajo
Empieza comparando los archivos popup.html y popup.html.acl creados con common/popup.html y, después, lee la configuración de solid-auth-client mencionada en el issue. Documenta cómo debería configurarse el acceso público, por qué common/popup.html se comporta de forma diferente y si existe una versión sin minificar.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript, nodejs
- Área
- documentation
- Tipo de issue
- Documentación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 15/100