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

Missing SCIM endpoint /Schemas/{id} #824

Open
rdv-mpq opened this issue Dec 4, 2024 · 2 comments
Open

Missing SCIM endpoint /Schemas/{id} #824

rdv-mpq opened this issue Dec 4, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@rdv-mpq
Copy link

rdv-mpq commented Dec 4, 2024

Hello,

The /Schemas/{id} endpoint for the SCIM server does not appear to be mapped correctly as it doesn't show up in the Swagger docs and calling it for a defined schema results in a 404: e.g. /schemas/urn:ietf:params:scim:schemas:core:2.0:Group.

I think there might be a typo on line 26 when mapping the controller:

webApp.ScimMapControllerRoute("getSchemas",
pattern: SCIMEndpoints.Schemas,
defaults: new { controller = "Schemas", action = "GetAll" });
webApp.ScimMapControllerRoute("getSchema",
pattern: SCIMEndpoints.Schemas + "/{id}",
defaults: new { controller = "Schema", action = "Get" });

@simpleidserver simpleidserver self-assigned this Dec 4, 2024
@simpleidserver simpleidserver added the bug Something isn't working label Dec 4, 2024
@simpleidserver simpleidserver moved this to In Progress in Release 5.0.3 Dec 4, 2024
thabart added a commit that referenced this issue Dec 4, 2024
@simpleidserver
Copy link
Owner

Hello, and thank you for your feedback!
Indeed, there is an issue with the routing. This issue is in the Release503 branch. :)

@simpleidserver simpleidserver moved this from In Progress to Done in Release 5.0.3 Dec 4, 2024
@simpleidserver simpleidserver closed this as completed by moving to Done in Release 5.0.3 Dec 4, 2024
@simpleidserver simpleidserver reopened this Dec 4, 2024
@rdv-mpq
Copy link
Author

rdv-mpq commented Dec 5, 2024

Thanks for the quick response!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

No branches or pull requests

2 participants