Title: WebhookEmitter tokens not accepted by `@solid/access-token-verifier` · Issue #2162 · CommunitySolidServer/CommunitySolidServer · GitHub
Open Graph Title: WebhookEmitter tokens not accepted by `@solid/access-token-verifier` · Issue #2162 · CommunitySolidServer/CommunitySolidServer
X Title: WebhookEmitter tokens not accepted by `@solid/access-token-verifier` · Issue #2162 · CommunitySolidServer/CommunitySolidServer
Description: Two issues were identified: "iat" claim timestamp check failed (it should be in the past) This is because Date.now() returns milliseconds, but jose's setIssuedAt() and setExpirationTime() expect seconds per RFC 7519. CommunitySolidServer...
Open Graph Description: Two issues were identified: "iat" claim timestamp check failed (it should be in the past) This is because Date.now() returns milliseconds, but jose's setIssuedAt() and setExpirationTime() expect se...
X Description: Two issues were identified: "iat" claim timestamp check failed (it should be in the past) This is because Date.now() returns milliseconds, but jose's setIssuedAt() and setExpirationTi...
Opengraph URL: https://github.com/CommunitySolidServer/CommunitySolidServer/issues/2162
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"WebhookEmitter tokens not accepted by `@solid/access-token-verifier`","articleBody":"Two issues were identified:\n\n1) `\"iat\" claim timestamp check failed (it should be in the past)`\n\nThis is because `Date.now()` returns milliseconds, but jose's `setIssuedAt()` and `setExpirationTime()` expect seconds per RFC 7519.\n\nhttps://github.com/CommunitySolidServer/CommunitySolidServer/blob/84447f03716abfebff8519d2030dfdee3b90c936/src/server/notifications/WebhookChannel2023/WebhookEmitter.ts#L59\n\nExpiration should also be in seconds not milliseconds\nhttps://github.com/CommunitySolidServer/CommunitySolidServer/blob/84447f03716abfebff8519d2030dfdee3b90c936/src/server/notifications/WebhookChannel2023/WebhookEmitter.ts#L39\n\n2) `TypeError: Expected object property kid, got:[object Object]`\n\nThe `dpopToken` is created with a protected header containing only `alg`, but `@solid/access-token-verifier` expects `kid` [^1]\n\n[^1]: https://github.com/CommunitySolidServer/access-token-verifier/blob/3e48daad44ff362a7b872eca695dc3df22c6ad03/src/guard/isSolidAccessToken.ts#L16\n\nhttps://github.com/CommunitySolidServer/CommunitySolidServer/blob/84447f03716abfebff8519d2030dfdee3b90c936/src/server/notifications/WebhookChannel2023/WebhookEmitter.ts#L71\n\n**Proposed fix:**\n```javascript\n.setProtectedHeader({ alg: privateKey.alg, kid: await jose.calculateJwkThumbprint(publicKey, 'sha256') })\n```\n","author":{"url":"https://github.com/jg10-mastodon-social","@type":"Person","name":"jg10-mastodon-social"},"datePublished":"2026-05-30T23:21:49Z","url":"https://github.com/CommunitySolidServer/CommunitySolidServer/issues/2162"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| 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:3d2037bb-a795-c132-154e-29e532a4dc3f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A904:232DFC:12E67B5:18245D4:6B03D00E |
| html-safe-nonce | dbdc3dfc81d51a20e83d01fe6ae1981c1d1e158d46ecd3fbb3e0b957db7dd4d7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOTA0OjIzMkRGQzoxMkU2N0I1OjE4MjQ1RDQ6NkIwM0QwMEUiLCJ2aXNpdG9yX2lkIjoiNTAxNzgyNDY1NjA4Mjg0OTgwNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 0457eb826e51860d834e53e830718cded96895b7e3dc594ce0427bee8a04e1e1 |
| hovercard-subject-tag | issue:4555987746 |
| 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/CommunitySolidServer/CommunitySolidServer/2162/issue_layout |
| twitter:image | https://opengraph.githubassets.com/22f616e4265524d9d8104617ff3bba0af047a90a59299a1d68cfb70b5bba5449/CommunitySolidServer/CommunitySolidServer/issues/2162 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/22f616e4265524d9d8104617ff3bba0af047a90a59299a1d68cfb70b5bba5449/CommunitySolidServer/CommunitySolidServer/issues/2162 |
| og:image:alt | Two issues were identified: "iat" claim timestamp check failed (it should be in the past) This is because Date.now() returns milliseconds, but jose's setIssuedAt() and setExpirationTime() expect se... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jg10-mastodon-social |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/CommunitySolidServer/CommunitySolidServer git https://github.com/CommunitySolidServer/CommunitySolidServer.git |
| octolytics-dimension-user_id | 101397807 |
| octolytics-dimension-user_login | CommunitySolidServer |
| octolytics-dimension-repository_id | 265197208 |
| octolytics-dimension-repository_nwo | CommunitySolidServer/CommunitySolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 265197208 |
| octolytics-dimension-repository_network_root_nwo | CommunitySolidServer/CommunitySolidServer |
| 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 | 423dbb54c5e7bfecc838eb387c1435eb3d0e760d |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
| Server | github.com |
| Content-Type | text/html; charset=utf-8 |
| Cache-Control | max-age=0, private, must-revalidate |
Viewport: width=device-width