onelogin / onelogin-java-sdk

5 stars 13 forks source link

Users.java class missing custom attribute #65

Open mmomin-ipllc opened 3 months ago

mmomin-ipllc commented 3 months ago

Hello, previous versions of users.java class had a way to handle custom attributes when coming list users API. The latest version of Java SDK, when we are trying to get custom attributes for a user, it is throwing an error since it cannot handle custom attribute.

mmomin-ipllc commented 3 months ago

@pitbulk @Jmfwolf Can you please look into this? We are in urgent need for this.

Subterrane commented 3 months ago

The underlying user APIs are unchanged; would it be possible to use the previous SDK? https://github.com/onelogin/onelogin-java-sdk/releases/tag/2.0.2

mmomin-ipllc commented 3 months ago

@Subterrane We can certainly use that but trying to see if we can use latest SDK since currently we are using 1.6.1 which is quite old and we don't frequently the SDK.

What is the difference between 2.0.2 and 3.1.2? I see in the notes that 2.0.2 has mixture of v1 and v2 APIs. Wondering which APIs are v2 vs v1?

Subterrane commented 3 months ago

The APIs are documented here: https://developers.onelogin.com/api-docs/2/getting-started/dev-overview There is a warning that the v1 APIs are deprecated, but they are not going to be removed as we don't have a v2 API for every v1 API (Events, for instance, only has a v1 endpoint).

mmomin-ipllc commented 3 months ago

@Subterrane Will v3.1.2 be updated to support custom attribute? or was that left out intentionally?

Subterrane commented 3 months ago

It was not intentionally left out. Development work on the SDKs is currently paused as engineering efforts are focussed on other areas of the platform at this time.

mmomin-ipllc commented 3 months ago

Ok thanks!!.