Skip to content

Default the auth-required databrowser link to solidos.org/docs/browser/ (#362) - #363

Merged
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-362-databrowser-url
May 7, 2026
Merged

Default the auth-required databrowser link to solidos.org/docs/browser/ (#362)#363
melvincarvalho merged 1 commit into
gh-pagesfrom
issue-362-databrowser-url

Conversation

@melvincarvalho

Copy link
Copy Markdown
Contributor

Summary

Replaces the hardcoded https://solidos.solidcommunity.net/?uri=... link on the 401 / auth-required page (src/auth/middleware.js:365) with https://solidos.org/docs/browser/?uri=..., the SolidOS project's GitHub-Pages-hosted browser endpoint.

solidos.org/docs/browser/ is hosted by the SolidOS project on stable GitHub Pages infrastructure and is independent of any single operator's domain. Verified live: returns HTTP 200 and honors the ?uri= query parameter.

Change

One-line URL replacement in src/auth/middleware.js. No new config, no CLI flag, no scope expansion — just a better default link.

Verification

  • Full test suite passes (614/614)
  • No behavior change other than the link target

Closes #362.

…r/ (#362)

Replaces the hardcoded https://solidos.solidcommunity.net/?uri=... link on
the 401 / auth-required page with https://solidos.org/docs/browser/?uri=...,
the SolidOS project's GitHub-Pages-hosted browser endpoint.

solidos.org/docs/browser/ is hosted by the SolidOS project on stable
infrastructure and is independent of any single operator's domain.

Closes #362.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the 401/auth-required HTML error page to point the “Open in Data Browser” action at the SolidOS project’s GitHub Pages browser endpoint instead of the previously hardcoded solidos.solidcommunity.net URL.

Changes:

  • Replace the hardcoded 401 “Open in Data Browser” link target with https://solidos.org/docs/browser/?uri=....

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/auth/middleware.js

<div class="actions">
${is401 ? `<a href="https://solidos.solidcommunity.net/?uri=${encodeURIComponent(baseUrl + request.url)}" class="btn btn-primary">
${is401 ? `<a href="https://solidos.org/docs/browser/?uri=${encodeURIComponent(baseUrl + request.url)}" class="btn btn-primary">
Comment thread src/auth/middleware.js
Comment on lines +365 to 367
${is401 ? `<a href="https://solidos.org/docs/browser/?uri=${encodeURIComponent(baseUrl + request.url)}" class="btn btn-primary">
Open in Data Browser
</a>` : ''}
@melvincarvalho
melvincarvalho merged commit 7bc6ac7 into gh-pages May 7, 2026
4 checks passed
@melvincarvalho
melvincarvalho deleted the issue-362-databrowser-url branch May 7, 2026 00:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Default the auth-required databrowser link to solidos.org/docs/browser/

2 participants