Skip to content
This repository was archived by the owner on May 2, 2022. It is now read-only.
This repository was archived by the owner on May 2, 2022. It is now read-only.

Error on own solid server #4

Closed
Closed

Description

@mguiral

Hi,

I tried to use this command line tool with my own solid server but i have the following error on my solid server.

cause: Error: Preferred provider for Web ID https://agency.repo1.samy-poc.org/profile/card#me does not match token issuer https://login.repo1.samy-poc.org:443

And this is my solid server configuration

{
  "root": "./data",
  "port": "443",
  "serverUri": "https://repo1.samy-poc.org",
  "webid": true,
  "mount": "/",
  "configPath": "./config",
  "configFile": "./config.json",
  "dbPath": "./.db",
  "sslKey": "<hidden>",
  "sslCert": "<hidden>",
  "multiuser": true,
  "enforceToc": false,
  "server": {
    "name": "Samy Test repo",
    "description": "",
    "logo": ""
  }
}

Do you have a n idea ?

Thanks

Activity

  1. RubenVerborgh commented on Nov 16, 2018

    @RubenVerborgh
    Contributor

    I assume you used

    IDP=https://login.repo1.samy-poc.org:443
    

    but that is the server you are logging in to.
    Your identity provider (IDP) is likely

    IDP=https://agency.repo1.samy-poc.org
    

    or even

    IDP=https://repo1.samy-poc.org
    
  2. mguiral commented on Nov 16, 2018

    @mguiral
    Author

    Thanks for your answer

    I run this commande line
    curl "https://agency.repo1.samy-poc.org/inbox/" -H 'Authorization: Bearer 'solid-bearer-token https://agency.repo1.samy-poc.org <user> <password> https://agency.repo1.samy-poc.org/inbox/

  3. RubenVerborgh commented on Nov 16, 2018

    @RubenVerborgh
    Contributor

    Any idea where the https://login.repo1.samy-poc.org:443 might come from then?

  4. mguiral commented on Nov 16, 2018

    @mguiral
    Author
  5. RubenVerborgh commented on Nov 16, 2018

    @RubenVerborgh
    Contributor

    It probably does. How did it get there? Using a login. subdomain isn't the default.

    If you want to keep on using that subdomain, you have to mark it as your IDP in your profile. So edit https://agency.repo1.samy-poc.org/profile/card#me to contain a triple like:

    <https://agency.repo1.samy-poc.org/profile/card#me> <http://www.w3.org/ns/solid/terms#oidcIssuer> <https://login.repo1.samy-poc.org:443> .
    
  6. mguiral commented on Nov 16, 2018

    @mguiral
    Author

    I just use the command line solid init and solid start to create my own solid server. And when i run my server and try to login, i was automatically redirected to https://login.repo1.samy-poc.org. I didn't tell solid server to use this subdomain

  7. RubenVerborgh commented on Nov 16, 2018

    @RubenVerborgh
    Contributor

    That's very weird. Following up in nodeSolidServer/node-solid-server#941

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions