<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
0D54z00009Le1kKCAROkta Classic EngineAPI Access ManagementAnswered2023-07-06T22:54:00.000Z2023-06-15T19:06:52.000Z2023-07-06T22:54:00.000Z

VatsalP.93921 (Customer) asked a question.

Application Sign-on Policy API to access the sign-on policy that is there in an application

While I was searching to find the sign-on policy that is there in the application, I didn't find any specific API in the Okta Postman collection. Does anyone know which API allows us to search the Sign-on policy inside the application?


  • DonF.81354 (Customer)

    Hi! Please do look at this particular API

     

    Policy API

     

    As for looking for specific application level sign on policies, please reference the following:

     

    for authentication policies in OIE, see Authentication Policy, for getting a list of apps mapped to a particular policy see Get Applications

     

    For instance, it may look like this

     

    {{url}}/api/v1/policies/{{app policy}}/app

     

    and this will list the apps assigned to that policy.

     

    See more here at Policy API Operations

     

    Please let me know if you have any further questions or concerns.

     

    I hope this helps! Thanks!

    Expand Post
    Selected as Best
  • DonF.81354 (Customer)

    Hi! Please do look at this particular API

     

    Policy API

     

    As for looking for specific application level sign on policies, please reference the following:

     

    for authentication policies in OIE, see Authentication Policy, for getting a list of apps mapped to a particular policy see Get Applications

     

    For instance, it may look like this

     

    {{url}}/api/v1/policies/{{app policy}}/app

     

    and this will list the apps assigned to that policy.

     

    See more here at Policy API Operations

     

    Please let me know if you have any further questions or concerns.

     

    I hope this helps! Thanks!

    Expand Post
    Selected as Best
  • VatsalP.93921 (Customer)

    Thank you for your quick response. However, I need your further help.

    image.pngSo, how do I get the {{app policy}}? Also, the authentication policy API is resulting in the same error that there is no policy with the ACCESS_POLICY type.

    image.pngPFA for your reference. Thank you again.

     

    Expand Post
    • DonF.81354 (Customer)

      Apologies! In your {{app policy}} you would need to put in the unique ID of the policy you are querying for, often found in the URL on the page you are at when looking at the policy.

       

      I hope that helps! Sorry for the confusion.

This question is closed.
Loading
Application Sign-on Policy API to access the sign-on policy that is there in an application