Skip to content

Unable to add attribute statements to SAML application #731

Closed
@kingofzeal

Description

@kingofzeal

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?

  • Obtain a SAML application using the ApplicationApi
  • Modify the context of app.Settings.SignOn.AttributeStatements.AttributeStatement in some way - add a new value, or modify an existing entry in the list.
  • Save the app using ApplicationApi.ReplaceApplicationAsync(app.Id, app)

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions