added 2 missing endpoints for the feature organization support for client credentials and respective tests:
DELETE /api/v2/organizations/{id}/client-grants/{grant_id}
POST /api/v2/organizations/{id}/client-grants
This PR also contains auth related changes for GA release of feature Organizations for Client Credentials as quoted:
The Auth SDKs may validate that the Organization sent in the request and the Organization returned in the tokens as claims match. These validation must be removed in case they exist, as the tokens may contain an org_id or org_name claim that are not present in the request.
Respective failing tests after removal of these checks have been removed.
References
Please look at #1033
API docs are not public yet.
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Changes
added 2 missing endpoints for the feature organization support for client credentials and respective tests:
This PR also contains auth related changes for GA release of feature
Organizations for Client Credentials
as quoted:Respective failing tests after removal of these checks have been removed.
References
Please look at #1033
API docs are not public yet.
Testing
Please describe how this can be tested by reviewers. Be specific about anything not tested and reasons why. If this library has unit and/or integration testing, tests should be added for new functionality and existing tests should complete without errors.
Checklist