Title: Mastodon-compatible OAuth + API endpoints · Issue #158 · JavaScriptSolidServer/JavaScriptSolidServer · GitHub
Open Graph Title: Mastodon-compatible OAuth + API endpoints · Issue #158 · JavaScriptSolidServer/JavaScriptSolidServer
X Title: Mastodon-compatible OAuth + API endpoints · Issue #158 · JavaScriptSolidServer/JavaScriptSolidServer
Description: Motivation The fediverse has ~10 million active users, all speaking ActivityPub, all producing JSON-LD. JSS already has basic ActivityPub support. Adding Mastodon-compatible OAuth and API endpoints would let any Mastodon client (Elk, Pha...
Open Graph Description: Motivation The fediverse has ~10 million active users, all speaking ActivityPub, all producing JSON-LD. JSS already has basic ActivityPub support. Adding Mastodon-compatible OAuth and API endpoints...
X Description: Motivation The fediverse has ~10 million active users, all speaking ActivityPub, all producing JSON-LD. JSS already has basic ActivityPub support. Adding Mastodon-compatible OAuth and API endpoints...
Opengraph URL: https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/158
X: @github
Domain: github.com
IPv4 address: 140.82.114.4
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mastodon-compatible OAuth + API endpoints","articleBody":"## Motivation\n\nThe fediverse has ~10 million active users, all speaking ActivityPub, all producing JSON-LD. JSS already has basic ActivityPub support. Adding Mastodon-compatible OAuth and API endpoints would let any Mastodon client (Elk, Phanpy, Ice Cubes) log into a JSS instance and interact with pod content — instantly reaching millions of users without them installing anything new.\n\nOIDC already provides 90% of the OAuth 2.0 layer. The remaining work is Mastodon-specific API surface.\n\n## Incremental plan\n\n**Step 1: Auth compatibility**\n- `POST /api/v1/apps` — dynamic client registration (OIDC has similar, small adapter)\n- Map OIDC authorize/token endpoints to Mastodon's expected paths\n- Mastodon scopes (`read`, `write`, `follow`) mapped to Solid ACL permissions\n\n**Step 2: Core identity**\n- `GET /api/v1/accounts/verify_credentials` — return WebID profile as a Mastodon-compatible account object\n\n**Step 3: Content**\n- `GET /api/v1/timelines/home` — map pod resources to a Mastodon-compatible feed\n- `POST /api/v1/statuses` — write to pod, federate via ActivityPub\n\nEach step is independently useful. After step 1+2, Mastodon clients can log in. After step 3, they can read and post.\n\n## Outcome\n\nA Mastodon user opens their favourite client, enters a JSS instance URL, logs in, and sees their Solid pod content as a fediverse feed. No new account, no new app. Existing Mastodon clients just work.\n\nThis bridges Solid to the fediverse — 10 million potential users, zero onboarding friction.","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-03-10T04:14:53Z","url":"https://github.com/JavaScriptSolidServer/JavaScriptSolidServer/issues/158"}
| 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:731b6913-3ef7-1b4a-e71b-f6af6a2f096b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CD80:12B0B0:6EC4AA:92A4AF:6B039152 |
| html-safe-nonce | 7d2aba20f5ac989f1ed18f495317d9bbe4b351551e55172dd2b4d215c958fe4f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRDgwOjEyQjBCMDo2RUM0QUE6OTJBNEFGOjZCMDM5MTUyIiwidmlzaXRvcl9pZCI6Ijc4ODMwNDY3NjU3MjgwNzYxMTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | fa42dc528b75ee98dc20027998055b9cde379189d33a897ff3ea0ca6a66cdc99 |
| hovercard-subject-tag | issue:4049282166 |
| 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/JavaScriptSolidServer/JavaScriptSolidServer/158/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1b5331a58a01300bb2a3b47bd9544efa3d47c298db9c64757168e59d27911042/JavaScriptSolidServer/JavaScriptSolidServer/issues/158 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1b5331a58a01300bb2a3b47bd9544efa3d47c298db9c64757168e59d27911042/JavaScriptSolidServer/JavaScriptSolidServer/issues/158 |
| og:image:alt | Motivation The fediverse has ~10 million active users, all speaking ActivityPub, all producing JSON-LD. JSS already has basic ActivityPub support. Adding Mastodon-compatible OAuth and API endpoints... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | melvincarvalho |
| hostname | github.com |
| expected-hostname | github.com |
| None | 87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456 |
| turbo-cache-control | no-preview |
| go-import | github.com/JavaScriptSolidServer/JavaScriptSolidServer git https://github.com/JavaScriptSolidServer/JavaScriptSolidServer.git |
| octolytics-dimension-user_id | 205442424 |
| octolytics-dimension-user_login | JavaScriptSolidServer |
| octolytics-dimension-repository_id | 958025407 |
| octolytics-dimension-repository_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 958025407 |
| octolytics-dimension-repository_network_root_nwo | JavaScriptSolidServer/JavaScriptSolidServer |
| 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 | canary-1 |
| 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