wso2 / product-is

Welcome to the WSO2 Identity Server source code! For info on working with the WSO2 Identity Server repository and contributing code, click the link below.
http://wso2.github.io/
Apache License 2.0
746 stars 724 forks source link

Scim2/Me POST and DELETE endpoint scopes are not configurable with new model #19480

Open AnuradhaSK opened 8 months ago

AnuradhaSK commented 8 months ago

Describe the issue:

In the previous resource access control model, scim2/Me API's POST and DELETE endpoint's scope and permissions could be configurable.

In the new model, they are not configurable. using the default values we have defined previously as well.

If these APIs are not protected with internal_login, API needs to be auhtorized to applications to consume by the app. But scim2/Me endpoint is not available to do so. Further, the given scopes to protect scim2/Me endpoint are related to scim2/Users endpoint. If we are stick into a decision of going forward with default scope, the document should update to which API should be authorized from an Application to consume scim2/Me POST and DELETE

SujanSanjula96 commented 8 months ago

This is partially fixed with https://github.com/wso2/product-is/issues/18990 issue regarding the templating of the scopes.