Skip to content

IdentityProviderApi.CreateIdentityProviderAsync defaults to a property that cannot be edited via api calls #896

Description

@pdubb29

Describe the bug?

Creating an identity provider via the IdentityProviderApi.CreateIdentityProviderAsync defaults to a property that cannot be changed.

This is the request that is used in the Admin UI console

Idp Creation.json

This is the default creation with dummy data. I have the ability to edit the request object in the admin UI with unchecking the checkbox for "Use Persistent Name ID (Higher Security)"

In the okta sdk, that property "protocol.settings.honorPersistentNameId" is not a property we're allowed to set.

Therefore, programmatic creation when we want that property set to false is not available to us.
In v9.2.3.0, there is no property for "HonorPersistentNameId"

I'm not sure what the new name of this class would be in v10. I haven't upgraded to v10, due to issue #872 & #871

What is expected to happen?

As a developer, I should be able to have all options in the UI available to me via properties on the class.

What is the actual behavior?

There is no ability to edit that property. The api by default creates an idp with honorPersistentNames being set to true.

Reproduction Steps?

Using the okta sdk, create an IdentityProvider
When you create the Protocol object on the IdentityProvider class, the sdk doesn't give you the ability to set the boolean property HonorPersistentNameId

Creating the idp results in that checkbox being checked on all idps being created.

Additional Information?

No response

.NET Version

10.0.301

SDK Version

9.2.3

OS version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions