Skip to content

[FEATURE]: Adding Authentication to opencode server api #5256

Closed

Description

@OpeOginni

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

If someone has an opencode server on a remote instance with a public URL, they should be able to simply add some sort of auth to it.

Maybe for serving opencode server --port 7800 --passkey super-shush-password

Then when attaching its added opencode run --attach https://opencode.com --passkey super-shush-password

Thinking of this as I plan to integrate just the server part of opencode as a service, but needs to make sure only the creator of an instance should have access.

I could work on this feature, but needs to be approved as needed.

Activity

  1. added
    discussionUsed for feature requests, proposals, ideas, etc. Open discussion
    on Dec 8, 2025
  2. github-actions commented on Dec 8, 2025

    @github-actions
    Contributor

    This issue might be a duplicate of existing issues. Please check:

    Feel free to ignore if none of these address your specific case.

  3. rekram1-node commented on Dec 8, 2025

    @rekram1-node
    Contributor

    I think someone made basic auth, their first pr caused issues but I think their new one should work

  4. OpeOginni commented on Dec 10, 2025

    @OpeOginni
    ContributorAuthor

    Cool cool, thank you

  5. mynameistito commented on Jan 13, 2026

    @mynameistito
    Contributor

    I think someone made basic auth, their first pr caused issues but I think their new one should work

    was this a plugin, or PR?

  6. ajoslin commented on Jan 14, 2026

    @ajoslin
    Contributor

    I think someone made basic auth, their first pr caused issues but I think their new one should work

    was this a plugin, or PR?

    Simple SDK PR, I've linked it to this issue now. #4740

  7. thdxr commented on Mar 25, 2026

    @thdxr
    Member

    To stay organized issues are automatically closed after 90 days of no activity. If the issue is still relevant please open a new one.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionUsed for feature requests, proposals, ideas, etc. Open discussion

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions