Skip to content

[Question] How to access the created popup.html #902

Open
@JeromeK13

Description

@JeromeK13

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions