nodeSolidServer / nodeSolidServer/node-solid-server

[Question] How to access the created popup.html

オープン
#902 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

question
主要言語
JavaScript
スター
1.8k
フォーク
308
PR マージ指標
30日以内にマージされた PR はありません

説明

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

まず、作成された popup.html と popup.html.acl を common/popup.html と比較し、次に issue で参照されている solid-auth-client のセットアップを確認してください。公開アクセスをどのように設定すべきか、common/popup.html の動作が異なる理由、そして非 minify 版が存在するかどうかを文書化してください。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript, nodejs
領域
documentation
issue の種類
ドキュメント
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
15/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。