okta / okta-sdk-dotnet

A .NET SDK for interacting with the Okta management API, enabling server-side code to manage Okta users, groups, applications, and more.
Other
160 stars 100 forks source link

To add possibility assign user groups on importing users #532

Closed nivanov-stitan closed 2 years ago

nivanov-stitan commented 2 years ago

We are using Okta API for migration our users. We use this method https://github.com/okta/okta-sdk-dotnet/blob/561edb4778e97cf8aabc6bfd6f380150e581b26b/src/Okta.Sdk/IUsersClient.cs#L32 We found that there are no way to assign the group for created users. Is it possible to import users and assign them to usergroups in single API call?

laura-rodriguez commented 2 years ago

Hi @nivanov-stitan,

Thanks for your issue. This seems related to an old issue. Can you please review it and let me know if it helps?

laura-rodriguez commented 2 years ago

Closing due to inactivity.

nivanov-stitan commented 2 years ago

@laura-rodriguez Hi. Sorry for later reply. We are using CreateUserWithImportedHashedPasswordOptions for create user because we have only hashed password at this moment. And there are we have no properties to setup user groups.