Skip to content

[stub-server] Add possible to configure checking Authorization header #63

Description

@mironx

Add possibility to enable checking and configuration of Authorization header

Endpoints to configure stubserver to enable authorization:

  • POST /stubserver/auth/enable – Enables authorization header verification.
  • POST /stubserver/auth/disable – Disables authorization header verification.
  • PUT /stubserver/auth/header – Sets or updates the expected authorization header.
  • GET /stubserver/auth/status – Retrieves the current authorization configuration (enabled/disabled, expected header).

When authorization is enabled, any API request outside of /stubserver/ must include the correct authorization header.

Would be good to implement after:
#62

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions