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

Reset password missing Convert a user to a Federated User setting #729

Open LuanVenterMRI opened 4 months ago

LuanVenterMRI commented 4 months ago

Describe the bug?

The GenerateResetPasswordTokenAsync has no setting to set the "provider" query parameter to "Federation" similar to the below documentation https://developer.okta.com/docs/reference/api/users/#request-example-convert-a-user-to-a-federated-user.

What is expected to happen?

The method must have a parameter to set this or documentation must be updated to an alternative workaround

What is the actual behavior?

It's not possible to set this query parameter

Reproduction Steps?

public async System.Threading.Tasks.Task<Okta.Sdk.Client.ApiResponse> GenerateResetPasswordTokenWithHttpInfoAsync( string userId , bool sendEmail , bool? revokeSessions = default(bool?) , System.Threading.CancellationToken cancellationToken = default(System.Threading.CancellationToken))

The SDK doesnt support this feature

Additional Information?

No response

.NET Version

8.0.107

SDK Version

v8.

OS version

BuildNumber Caption OSArchitecture Version 19045 Microsoft Windows 10 Enterprise 64-bit 10.0.19045

bryanapellanes-okta commented 4 months ago

@LuanVenterMRI Thanks for bringing this to our attention. I've entered an internal issue for tracking and prioritization. OKTA-750248

bryanapellanes-okta commented 1 month ago

@LuanVenterMRI Internal conversations about this are ongoing. I will update here when the correct action to take is identified.