Skip to content

conditionalize authentication handling based on service version #116

Open

Description

@radhermit

Newer versions of Bugzilla support more secure methods of authentication that should be used.

To do this properly while supporting a decent amount of Bugzilla versions, the service version will have to be requested initially during service creation. Then the auth injection method can conditionalize how it handles based on the version's supported functionality.

Activity

  1. added
    bugbiteissue relating to the core library
    bugzillaissue relating to bugzilla support
    on Jun 8, 2026
  2. radhermit commented on Jun 14, 2026

    @radhermit
    OwnerAuthor

    Actually, this isn't going to be as feasible to do it based on the service version since some official servers (e.g. https://bugzilla.mozilla.org) run custom, patched instances that support X-BUGZILLA-API-KEY or HTTP bearer auth headers. So instead it might be worth having a feature-based enum that can be deserialized from the config settings to denote what functionality a given service provides.

    This can also provide support for vanilla service functionality as different versions would support different sets of features, with server specific ones not being enabled by default for any version.

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

    bugbiteissue relating to the core librarybugzillaissue relating to bugzilla support

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions