Title: WebID-OIDC implementation excludes use of WebID authenticated using WebID-TLS · Issue #649 · nodeSolidServer/node-solid-server · GitHub
Open Graph Title: WebID-OIDC implementation excludes use of WebID authenticated using WebID-TLS · Issue #649 · nodeSolidServer/node-solid-server
X Title: WebID-OIDC implementation excludes use of WebID authenticated using WebID-TLS · Issue #649 · nodeSolidServer/node-solid-server
Description: WebID is based on the notion that a WebID is a HTTP URI that identifies an Agent. WebID-TLS is an authentication protocol that authenticates a WebID based an TLS-handshake enhancement that looks up profile claims in a WebID-Profile doc d...
Open Graph Description: WebID is based on the notion that a WebID is a HTTP URI that identifies an Agent. WebID-TLS is an authentication protocol that authenticates a WebID based an TLS-handshake enhancement that looks up...
X Description: WebID is based on the notion that a WebID is a HTTP URI that identifies an Agent. WebID-TLS is an authentication protocol that authenticates a WebID based an TLS-handshake enhancement that looks up...
Opengraph URL: https://github.com/nodeSolidServer/node-solid-server/issues/649
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WebID-OIDC implementation excludes use of WebID authenticated using WebID-TLS","articleBody":"WebID is based on the notion that a WebID is a HTTP URI that identifies an Agent.\r\nWebID-TLS is an authentication protocol that authenticates a WebID based an TLS-handshake enhancement that looks up profile claims in a WebID-Profile doc discovered via the WebID placed in the SAN of an X.509 Cert used in a successful TLS-handshake. \r\n\r\nAll of the above holds true when I use a SoLiD POD deployed using a solid-sever instance that supports the WebID-TLS protocol.\r\n\r\nThe above doesn't happen if I use a SoLiD POD deployed using a solid-server instance that supports the WebID-OIDC protocol. The following block code pretty much ensures the problem in question.\r\n\r\n ```\r\nallowsSessionFor (userId, origin) {\r\n // Allow no user or an empty origin\r\n if (!userId || !origin) return true\r\n // Allow the server's main domain\r\n if (origin === this.serverUri) return true\r\n // Allow the user's subdomain\r\n const userIdHost = userId.replace(/([^:/])\\/.*/, '$1')\r\n if (origin === userIdHost) return true\r\n // Disallow everything else\r\n return false\r\n }\r\n```\r\nLinks\r\n[1] https://solid.openlinksw.com:8443 -- WebID-TLS (with optional Delegation support) IdP\r\n[2] https://kidehen3.solid.openlinksw.com:8443 -- WebID-TLS (plus optional Delegation support) POD\r\n[3] https://solid.openlinksw.com:8444 -- WebID-OIDC IdP\r\n[4] https://kidehen7.solid.openlinksw.com:8444 -- WebID-OIDC POD","author":{"url":"https://github.com/kidehen","@type":"Person","name":"kidehen"},"datePublished":"2018-04-07T21:12:45.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/649/node-solid-server/issues/649"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4af2b94c-c3c3-2e69-7611-13828e65afef |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DE34:25FEC4:3E3E7D:5456DD:69735441 |
| html-safe-nonce | 38ee164bdac5dbf75f1daa3f6ad23419b17c3f5cca68785f8f36580806d8108a |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERTM0OjI1RkVDNDozRTNFN0Q6NTQ1NkREOjY5NzM1NDQxIiwidmlzaXRvcl9pZCI6Ijg0OTg4NzI3Nzg3NjM3NTI1MTMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a1b4b79b424923d3888635eb323129567bdd82f80427a03b113a7686627f065c |
| hovercard-subject-tag | issue:312243571 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodeSolidServer/node-solid-server/649/issue_layout |
| twitter:image | https://opengraph.githubassets.com/eb74f30366b3ae06f1f24e9df21610fb4f4c74c6b08d35e92be275e790eb2a87/nodeSolidServer/node-solid-server/issues/649 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/eb74f30366b3ae06f1f24e9df21610fb4f4c74c6b08d35e92be275e790eb2a87/nodeSolidServer/node-solid-server/issues/649 |
| og:image:alt | WebID is based on the notion that a WebID is a HTTP URI that identifies an Agent. WebID-TLS is an authentication protocol that authenticates a WebID based an TLS-handshake enhancement that looks up... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | kidehen |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9c6b49fea3d431063963fbeee3309a15cb4096903286e532f663096b47b63bc6 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodeSolidServer/node-solid-server git https://github.com/nodeSolidServer/node-solid-server.git |
| octolytics-dimension-user_id | 104446421 |
| octolytics-dimension-user_login | nodeSolidServer |
| octolytics-dimension-repository_id | 24306004 |
| octolytics-dimension-repository_nwo | nodeSolidServer/node-solid-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24306004 |
| octolytics-dimension-repository_network_root_nwo | nodeSolidServer/node-solid-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 814e1d7d82db0f7eb6982bfa0395502441bb14ad |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width