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

Unable to add attribute statements to SAML application #731

Open kingofzeal opened 4 months ago

kingofzeal commented 4 months ago

Describe the bug?

Observed when trying to update a SamlApplication to add attribute statements. The request is responded to as if it was successful, however the response indicates no change to the application.

What is expected to happen?

The app is updated to include the attribute specified by the request.

What is the actual behavior?

The request response indicates a 200 OK, but the response payload does not have the updated attributes.

Reproduction Steps?

Additional Information?

After making a known good request, comparing it with the request from the SDK (captured via Fiddler) and using Postman to manually adjust the request payloads, it appears that including the property destinationOverride in the request (even if set to null) is required for the attribute statement to be added/updated as expected.

.NET Version

8.0.300

SDK Version

7.0.6 and 8.0.1

OS version

No response

bryanapellanes-okta commented 4 months ago

@kingofzeal Thanks for reporting this. I've entered an internal issue for tracking and prioritization. OKTA-754285

bryanapellanes-okta commented 1 month ago

OKTA-807224

bryanapellanes-okta commented 1 month ago

@kingofzeal Quick update on this. The issue appears to be with the server side API and not the SDK. A ticket to address the issue is in the backlog to be addressed by the owning team. OKTA-807224