Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
pmahindrakar-oss opened this issue Jun 27, 2024 · 2 comments
Labels
bug Something isn't working stale Triaged

Comments

@pmahindrakar-oss
Copy link

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

@pmahindrakar-oss pmahindrakar-oss added the bug Something isn't working label Jun 27, 2024
Copy link

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.

Copy link

github-actions bot commented Sep 3, 2024

This issue has been marked stale because there has been no activity within the last 14 days. To keep this issue active, remove the stale label.

@github-actions github-actions bot added the stale label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stale Triaged
Projects
None yet
Development

No branches or pull requests

2 participants