fusionauth-issues icon indicating copy to clipboard operation
fusionauth-issues copied to clipboard

[Bug]: SCIM ResourceTypes endpoint returns wrong location uris

Open runely opened this issue 1 year ago • 0 comments

What happened?

The SCIM ResourceTypes endpoint (https://fusioninstance/api/scim/resource/v2/ResourceTypes) aswell as .../User and .../Group returns wrong location uri's

I expect that meta.location will be set to:

  • https://fusioninstance/api/scim/resource/v2/ResourceTypes/User for User Account
  • https://fusioninstance/api/scim/resource/v2/ResourceTypes/Group for Group

Instead meta.location is set to:

  • https://fusioninstance/api/scim/v2/ResourceTypes/User for User Account
  • https://fusioninstance/api/scim/v2/ResourceTypes/Group for Group

A GET request to either of the wrong location endpoints returns a 404 Not Found

Version

1.51.1

Affects Versions

Greater than or equal to 1.48.3 (maybe older aswell)

runely avatar Jun 19 '24 08:06 runely