Bug #24036
closed
If REST url ends with .com, then the .com is removed from path segments
Added by Nicolas CHARLES 10 months ago.
Updated 10 months ago.
Description
Note: observed with user management plugin, but it is not linked to it.
while trying to set authorisation for an oidc user login@domain.com, the error message is
2024-01-16 13:31:13-0800 ERROR com.normation.rudder.rest.RestUtils - "Could not update user 'login@domain'' <- 'login@domain' does not exists"
Reproducing:
- enable user management plugin
- create a new user with it, with name: login@domain.com
- select the newly created user and assign a role to it => error.
Files
- Project changed from Authentication backends to User management
- Target version changed from 8.0 to 7.3
I think that the ticket belongs to user management, it's the plugin responsible for user update with rest API.
- Status changed from New to In progress
- Assignee set to François ARMAND
- Description updated (diff)
So, the problem is that the REST url used ends with .com
and that lift parse that as a site extension, and so it's removed from the path, and so the corresponding REST variable is not correct.
- Description updated (diff)
- Category set to API
- Target version set to 7.3.11
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/5331
- Status changed from Pending technical review to Pending release
Works now
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.3.11 which was released today.
Also available in: Atom
PDF