[Question] How to access the created popup.html
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 15/100
- Loại issue
- Tài liệu
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- javascript, nodejs
- Lĩnh vực
- documentation
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.
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
- 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
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.
Issue khác của nodeSolidServer/node-solid-server
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 72/100
nodeSolidServer/node-solid-server#1848 · 2 bình luận · 1 reaction ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nodeSolidServer/node-solid-server#1841 · 2 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
nodeSolidServer/node-solid-server#1147 ·
-
remove bootstrap dependency Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
nodeSolidServer/node-solid-server#1867 ·
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 45/100
nodeSolidServer/node-solid-server#1853 ·