Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mironx opened this issue Mar 6, 2025 · 0 comments
Open

Comments

@mironx
Copy link
Contributor

mironx commented Mar 6, 2025

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

@mironx mironx changed the title [stub-server] adding possible to configure checking Authorization header [stub-server] Add possible to configure checking Authorization header Mar 6, 2025
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

No branches or pull requests

1 participant