nodeSolidServer / nodeSolidServer/node-solid-server
[Question] How to access the created popup.html
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.8k
- Fork
- 308
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
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
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách so sánh popup.html và popup.html.acl đã tạo với common/popup.html, sau đó đọc phần thiết lập solid-auth-client được tham chiếu trong issue. Ghi lại cách cần cấu hình quyền truy cập công khai, lý do common/popup.html hoạt động khác biệt và liệu có phiên bản chưa được minify hay không.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- javascript, nodejs
- Lĩnh vực
- documentation
- Loại issue
- Tài liệu
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 15/100