GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — docs: qualify Freighter HTTPS requirement for localhost by devtechedge · Pull Request #2851 · stellar/stellar-docs

Conversation

@devtechedge

@devtechedge devtechedge commented Sep 11, 2026

Copy link
Copy Markdown
Contributor

What and why

The dapp frontend guide stated one unqualified requirement: "Freighter wallet requires a secure connection (HTTPS) to interact with your dapp", then pointed readers at HTTPS setup for localhost. http://localhost and http://127.0.0.1 are already Potentially Trustworthy origins under the W3C Secure Contexts specification, so plain HTTP on loopback satisfies Freighter's secure-context requirement and the sentence overstates what is needed.

The paragraph now names the loopback exception and keeps the HTTPS setup steps as optional. Nothing else in the guide changes.

Fixes #2773

Testing

Docs-only change; verified the surrounding section still reads correctly and the mkcert / next dev --experimental-https steps remain intact.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@devtechedge
docs: qualify Freighter HTTPS requirement for localhost
7cdf039
http://localhost and http://127.0.0.1 are secure contexts per the W3C
Secure Contexts specification, so the blanket HTTPS requirement gave
the wrong impression for local development. Keep the HTTPS setup steps
as optional.

Fixes #2773
Copilot AI balanced review requested due to automatic review settings September 11, 2026 22:21
Copilot started reviewing on behalf of devtechedge September 11, 2026 22:22
View session
Copilot AI reviewed Sep 11, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Clarifies Freighter’s HTTPS guidance for localhost development.

Changes:

  • Documents loopback HTTP as a secure context.
  • Keeps HTTPS setup instructions optional.
Suppressed comments (1)

docs/build/guides/dapps/frontend-guide.mdx:78

  • This paragraph now makes a normative browser/security-context claim, but it only names the W3C specification and does not link to it. Please add the cited specification URL so readers can verify the localhost/loopback exception (the linked issue explicitly calls for this citation).
Freighter wallet requires a secure connection to interact with your dapp. Browsers treat `http://localhost` and `http://127.0.0.1` as secure contexts per the W3C Secure Contexts specification, so local development over plain HTTP works without extra setup. To enable HTTPS on localhost anyway, you can use a tool like `mkcert`. Fortunately, Next.js provides built-in support for HTTPS.

Note

Copilot is running an experiment and ran this review at Lite.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread docs/build/guides/dapps/frontend-guide.mdx Outdated
### Setup HTTPS on Localhost

Freighter wallet requires a secure connection (HTTPS) to interact with your dapp. To enable HTTPS on localhost, you can use a tool like `mkcert`. Fortunately, Next.js provides built-in support for HTTPS.
Freighter wallet requires a secure connection to interact with your dapp. Browsers treat `http://localhost` and `http://127.0.0.1` as secure contexts per the W3C Secure Contexts specification, so local development over plain HTTP works without extra setup. To enable HTTPS on localhost anyway, you can use a tool like `mkcert`. Fortunately, Next.js provides built-in support for HTTPS.
@devtechedge
docs: link W3C Secure Contexts specification
37c7244
Copilot AI review requested due to automatic review settings September 11, 2026 22:29
Copilot started reviewing on behalf of devtechedge September 11, 2026 22:30
View session
Copilot AI reviewed Sep 11, 2026
View reviewed changes

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated no new comments.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
ElliotFriend
ElliotFriend approved these changes Sep 14, 2026
View reviewed changes

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

thanks for the contribution!

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

devtechedge reacted with laugh emoji
All reactions
  • 😄 1 reaction
@ElliotFriend
ElliotFriend merged commit 29728e1 into stellar:main Sep 14, 2026
6 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

PR Preview: torn down

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@devtechedge

devtechedge commented Sep 14, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor Author

Thanks for merging, @ElliotFriend!
Checking this properly is how I learned that http://localhost and http://127.0.0.1 are already Potentially Trustworthy origins under the W3C Secure Contexts specification, so plain HTTP on loopback already satisfies the requirement.

Qualifying that one sentence saves readers from provisioning TLS they never needed.
Appreciate you taking the change.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

This was referenced Sep 15, 2026
[upstream-ready] sd-045: frontend guide qualifies the Freighter HTTPS requirement for localhost stellar-experimental/stellar-raven#161
Closed
The frontend guide states an unqualified Freighter HTTPS requirement that localhost does not need #2773
Closed
@kalepail

kalepail commented Sep 16, 2026

Copy link
Copy Markdown
Contributor

Raven independently verified this fix on September 16, 2026.

The rendered frontend guide and its indexed HTTPS section qualify HTTP localhost and 127.0.0.1 as secure contexts. The complete index read returned 35 sections. The old unqualified HTTPS requirement is absent. HTTPS is now an optional local setup.

A separate reviewer repeated the source and index checks.
Raven will retire sd-045 and remove the expired evaluation caution.

Original finding

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

Copilot code review Copilot
Copilot review effort
Applies to this pull request for everyone.Learn more about Copilot code review.
Copilot left review comments
@ElliotFriend ElliotFriend ElliotFriend approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

The frontend guide states an unqualified Freighter HTTPS requirement that localhost does not need

Uh oh!

There was an error while loading. Please reload this page.

4 participants

@devtechedge @kalepail @ElliotFriend
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.