<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VQgSANOkta Classic EngineIntegrationsAnswered2023-06-14T20:22:57.000Z2017-08-28T20:14:51.000Z2020-03-03T18:56:31.000Z
Policy API question
I'm testing the early access Policy API and found that I can retrieve sign-on policies using this REST API endpoint:

 

 https://[org].okta.com/api/v1/policies?type=OKTA_SIGN_ON

 

It only returns the global sign-on policies configured under Security / Authenticaiton.  What about application-specific sign-on policies, such as MFA policies configured at the application level?  Is there any way to retrieve those polices and rules using the API?

 

Thanks,

 

 Michael

 


  • jerrell.gary1.4491858992560479E12 (Presales - Americas Commercial, Emerging West)

    Hello Michael,

     

    Type-Specific Policy Data Structures

     

    Okta Sign On Policy

     

    Okta sign on policy controls the manner in which a user is allowed to sign on to Okta, including whether they are challenged for multifactor authentication (MFA) and how long they are allowed to remain signed in before re-authenticating.

     

    Note: Okta Sign On Policy is different from application sign-on policy, which determines the extra levels of authentication (if any) which must be performed before a specific Okta application can be invoked. Application sign-on policy can’t be configured via the API.

     

    Please read the following documentation if you have any additional concerns or you can open a Support case.

     

    KB article - https://developer.okta.com/docs/api/resources/policy.html

     

    Regards,

     

    Jerrell
    Expand Post
  • AlexM.67024 (Customer)

    Thanks for the link to KB article and all. Would it be possible to have a real answer to the question though?

     

    "What about application-specific sign-on policies, such as MFA policies configured at the application level?  Is there any way to retrieve those polices and rules using the API?"

This question is closed.
Loading
Policy API question