inrupt / pod-server

Solid server package that bind together solid-idp, wac-ldp, and websockets-pubsub.
MIT License
40 stars 12 forks source link

openid-configuration gives 401 #34

Closed michielbdejong closed 5 years ago

michielbdejong commented 5 years ago

I followed https://github.com/inrupt/pod-server/tree/dev#running-on-localhost-nss-compat-mode and ran into the following problem:


~/gh/inrupt/pod-server $ curl -I http://localhost:8080/.well-known/openid-configuration
HTTP/1.1 401 Unauthorized
Link: <.acl>; rel=acl, <.meta>; rel=describedBy, <http://www.w3.org/ns/ldp#Resource>; rel=type, <https://server>; rel=http://openid.net/specs/connect/1.0/issuer, <https://localhost:8080/.well-known/solid>; rel=service, <http://www.w3.org/ns/ldp#constrainedBy-wac>; rel=http://www.w3.org/ns/ldp#constrainedBy
X-Powered-By: inrupt pod-server (alpha)
Vary: Accept, Authorization, Origin
Allow: GET, HEAD, POST, PUT, DELETE, PATCH
Accept-Patch: application/sparql-update
Accept-Post: application/sparql-update
Access-Control-Allow-Origin: *
Access-Control-Allow-Headers: Authorization, Accept, Content-Type, Origin, Referer, X-Requested-With, Link, Slug
Access-Control-Allow-Methods: GET, HEAD, POST, PUT, DELETE, PATCH
Access-Control-Allow-Credentials: true
Access-Control-Expose-Headers: User, Location, Link, Vary, Last-Modified, ETag, Accept-Patch, Accept-Post, Updates-Via, Allow, WAC-Allow, Content-Length, WWW-Authenticate
Updates-Via: ws://server/
Content-Type: text/plain
WWW-Authenticate: Bearer realm="https://localhost:8080", scope="openid webid"
Date: Thu, 05 Sep 2019 11:59:44 GMT
Connection: keep-alive
jaxoncreed commented 5 years ago

It was a configuration error. I've pushed to fix to dev.