wso2 / charon

120 stars 162 forks source link

Changing ServiceProviderConfig to show cursor pagination is enabled. #370

Open BojithaPiyathilake opened 2 years ago

BojithaPiyathilake commented 2 years ago

Purpose

As per the cursor based pagination draft by Matt Peterson, A SCIM Service provider implementing cursor-based pagination SHOULD include the following additional attribute in the JSON document returned by the/ServiceProviderConfig endpoint:

{ "schemas": [ "urn:ietf:params:scim:schemas:core:2.0:ServiceProviderConfig"], ... "pagination": { "cursor":true }, ..... }

A part in completion of: https://github.com/wso2/product-is/issues/13294

Goals

When the ServiceProviderConfig endpoint is called, it will inform the user that cursor pagination is supported.

Related PRs

https://github.com/wso2-extensions/identity-inbound-provisioning-scim2/pull/425

Test environment

JDK 1.8, Ubuntu 20.04, WSO2IS-5.12.0-alpha14, Chrome.