Project

General

Profile

Actions

Bug #24036

closed

If REST url ends with .com, then the .com is removed from path segments

Added by Nicolas CHARLES 4 months ago. Updated 3 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
No

Description

Note: observed with user management plugin, but it is not linked to it.

while trying to set authorisation for an oidc user , 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:
- select the newly created user and assign a role to it => error.


Files

Actions #1

Updated by François ARMAND 4 months ago

  • 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.

Actions #2

Updated by François ARMAND 4 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
Actions #3

Updated by François ARMAND 4 months ago

  • Description updated (diff)
Actions #4

Updated by François ARMAND 4 months ago

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.

Actions #5

Updated by François ARMAND 4 months ago

  • Description updated (diff)
Actions #6

Updated by François ARMAND 4 months ago

  • Category set to API
  • Target version set to 7.3.11
Actions #7

Updated by François ARMAND 4 months ago

  • 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
Actions #8

Updated by Anonymous 3 months ago

  • Status changed from Pending technical review to Pending release
Actions #9

Updated by François ARMAND 3 months ago

Works now

Actions #10

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.3.11 which was released today.

Actions

Also available in: Atom PDF