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

Lowercase user ID coming from HTTP header #808

Closed
To-om opened this issue Nov 29, 2018 · 1 comment
Closed

Lowercase user ID coming from HTTP header #808

To-om opened this issue Nov 29, 2018 · 1 comment
Assignees
Labels
Milestone

Comments

@To-om
Copy link
Contributor

To-om commented Nov 29, 2018

Request Type

Bug

Work Environment

TheHive 3.2.0-RC1 with "header" authentication

Problem Description

When the authenticate method "header" is enabled, user ID is received in HTTP header but the case is sensitive. If the user ID contains capital letters, authentication fails.

Possible Solutions

User ID from HTTP header should be converted to lowercase to locate the related user.

@To-om To-om added the bug label Nov 29, 2018
@To-om To-om added this to the 3.2.0 milestone Nov 29, 2018
@To-om To-om self-assigned this Nov 29, 2018
@To-om
Copy link
Contributor Author

To-om commented Nov 29, 2018

Fixed by TheHive-Project/elastic4play#75

@To-om To-om closed this as completed Nov 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant