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

Feature Request: Add an additional header for API authentication #9418

Closed
1 task done
simonbjorzen-ts opened this issue Nov 27, 2023 · 1 comment
Closed
1 task done
Assignees
Labels
needs triage This issue has been automatically labelled and needs further triage T: feature request Type: feature request. This issue is requesting a new feature

Comments

@simonbjorzen-ts
Copy link

Is your feature request related to a problem? Please describe.

When running MISP behind a authentication proxy that uses the Authorization header for Bearer authentication, the MISP API is inaccessible due to both services using the same header.
It is possible to solve using header rewrite in the webserver, but I'd like a permanent solution in MISP.

Describe the solution you'd like

Add an additional header for authentication, for example: X-MISP-AUTH.
MISP should look at the Authorization header first, if that is invalid, it should look for the X-MISP-AUTH header.

Describe alternatives you've considered

Rewrite headers in Apache/NGINX, but a more permanent solution would be nice.

Additional context

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@simonbjorzen-ts simonbjorzen-ts added needs triage This issue has been automatically labelled and needs further triage T: feature request Type: feature request. This issue is requesting a new feature labels Nov 27, 2023
@iglocska
Copy link
Member

That's a good idea. Will look into it.

@iglocska iglocska self-assigned this Nov 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs triage This issue has been automatically labelled and needs further triage T: feature request Type: feature request. This issue is requesting a new feature
Projects
None yet
Development

No branches or pull requests

2 participants