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

User name with Chinese characters fails Wazuh API authorization #6068

Closed
Tostti opened this issue Oct 27, 2023 · 1 comment · Fixed by #6076
Closed

User name with Chinese characters fails Wazuh API authorization #6068

Tostti opened this issue Oct 27, 2023 · 1 comment · Fixed by #6076
Assignees
Labels
type/bug Bug issue

Comments

@Tostti
Copy link
Member

Tostti commented Oct 27, 2023

Description
It was reported that authentication with LDAP user having Chinese characters fails with error Error getting the authorization token. On testing, this issue also happens whit internal users, not just on LDAP.

Steps to reproduce

  1. Create an internal user with chinese characters. For example Test 证明. Assign admin permissions
  2. Map the internal user with the admin role in the Wazuh Plugin
  3. Log in with the new user
  4. Navigate in the app

Expected Result

  1. The user should be able to navigate normally

Actual Result

  1. There are several errors showing up. It is not possible to navigate to different sections (for example, rules)

Screenshots
image
image

Additional context
It happens regardless of run_as being true or false

@Tostti Tostti added the type/bug Bug issue label Oct 27, 2023
@Tostti Tostti self-assigned this Oct 30, 2023
@wazuhci wazuhci moved this to In progress in Release 4.7.1 Oct 30, 2023
@Tostti Tostti linked a pull request Oct 30, 2023 that will close this issue
6 tasks
@wazuhci wazuhci moved this from In progress to Pending review in Release 4.7.1 Oct 31, 2023
@Tostti
Copy link
Member Author

Tostti commented Nov 1, 2023

PR successfully merged

@Tostti Tostti closed this as completed Nov 1, 2023
@github-project-automation github-project-automation bot moved this from Pending review to Done in Release 4.7.1 Nov 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type/bug Bug issue
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant