
AndrewP.21654 (Synovus) asked a question.
I am looking to update several applications with a sign-on rule related to device trust however, I don't want to manually create this rule across our environments. Using the API, is it possible to manage application sign-on policies/rules? I have so far come across the Okta Sign-on policy API but that is a different level.
Thanks.

I hope you have come across the developer site as it has all the api listed -
https://developer.okta.com/docs/reference/api/policy/
While creating the policy you have to change the "type" and then use the policyId to create rule appropriate rule.
Thank you. I did find that page however, the Policy API doesn't appear to manage the application sign-on policies. I was hoping that someone else has come across this before. I will keep looking.
Can we get an answer to this? We're looking to automate this process as part of our pipeline as well and are not seeing an option for this in the API.
Piping in to second this request. This is a feature that I've been looking for for a long time.
As far as I understand, there are currently no public Application Sign-On Policy APIs available to customers. However, it would be a really welcome enhancement, and in my experience is a notable gap in the options one has for configuring Okta through the API. As the number of applications in an environment grows from dozens to hundreds or thousands, it becomes increasingly difficult to audit and ensure consistency across Application Sign-On Policies. Auditing the Application Sign-On Policies without an API is a very time-intensive and error-prone task, and it causes delays in communicating to stakeholders what the current state at any given time is. Having an Application Sign-On Policy API would reduce that effort required during audits dramatically - not to mention that it would also enable DevOps pipelines to have much better control of Okta, for instance, in use cases where Terraform is being used to manage the Okta environments.
Thirding to this request, as we are using an Application Onboarding Automation tool but unable to configure App Sign on policies via API.
Agreed - I am being asked to report on our applications to show sign on policies and it would be nice to be able to include this in my script that pulls down information about the apps, so I could show which ones have custom sign in policies and which don't.
Adding my voice to this - first looked at automating App Sign On policies ~18 months ago, somewhat frustrating that we still don't have API support. Will raise a support call, may prompt some answers about a possible ETA.
Hi I've requested this feature please vote for it to increase chances okta will implement this feature thanks https://ideas.okta.com/app/#/case/135786?section=requests
Hi everyone! Currently, Okta API doesn't support this officially, but you can try making custom call to this URL `https://myorg.okta.com/api/v1/policies?type=Okta:SignOn&resourceId={app_instance_ID}`
Hope this helps!
Hi Bogdan,
Were you able to confirm that the suggestion provided works? I tried making a GET call, but the type field errors:
Not found: Resource not found: Okta:SignOn (RuleSetEntity)