Skip to content

Okta sdk doesn't support updating ProgressiveProfilingAction as part of ProfileEnrollmentPolicyRuleAction #470

@pmahindrakar-oss

Description

@pmahindrakar-oss

Describe the bug?

The Okta server supports adding ProgressiveProfilingAction which allows to create a profile enrollment policy rule where additional info if absent for the user , then he will be prompted to enter it when logging in.

We had okta UI made a change to create profile enrollement policy and enabled ProgressiveProfilingAction checkbox.
The get call retrieves it but when we call an update call to the rule with the payload retrieved from get call then it fails with the following error

Error: the API returned an error: Api validation failed: actions.profileEnrollment.progressiveProfilingAction. Causes: errorSummary: actions.profileEnrollment.progressiveProfilingAction: The rule could not be created or updated because the progressiveProfilingAction field in the requirement contained an invalid value or was incorrectly formatted, errorSummary: actions.profileEnrollment.uiSchemaId: The rule could not be created or updated because the uiSchemaId field in the action contained an invalid value or was incorrectly formatted

What is expected to happen?

Expected the API to succeed

What is the actual behavior?

Failed to update

Reproduction Steps?

  • Create profile enrollment policy and keep the defaults
  • Do a get using the golang SDK
  • Do an update calling using the SDK with the payload from get call

Additional Information?

No response

Golang Version

go version go1.21.8 darwin/arm64

SDK Version

okta-sdk-golang/v2 v2.12.1

Even though this sdk is old, but the latest also doesn't have this property

OS version

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions