<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
System Status
Announcements
Announcements
Search
Search
Select Language
0D54z00007OUpbPCATOkta Classic EngineAuthenticationAnswered2024-04-12T22:29:41.000Z2022-01-23T14:50:16.000Z2022-01-24T20:00:10.000Z

OrliS.35424 (Customer) asked a question.

Create IDP discovery rule with the java okta sdk

Is it possible to create IDP discovery policy rule with the java okta sdk? I see that PolicyRule.TypeEnum class only contains the SIGN_ON and PASSWORD types. Can I get a code example of how to create it with the java sdk?

 


  • ojovp (ojovp)

    Hello @OrliS.35424 (Customer)​ 

    I hope you are having a great day 

     

    Thank you for posting, you can create a IDP discovery rule using the API's, to meet this goal you can check the following link: 

    https://developer.okta.com/docs/reference/api/policy/

     

    If you need further assistance you can also feel free to post this question on our Okta Developer Forums: https://devforum.okta.com, this is a place for the Okta developer community to interact

     

    Have a great day ahead

     

    Henry E.

    Okta Inc

     

    Expand Post
This question is closed.
Loading
Create IDP discovery rule with the java okta sdk
Okta Support Agent (Beta)

Terms of Service

Hello! I'm the Okta Support Agent (Beta), your go-to resource for questions about Okta products. Please remember for your security and privacy, do not share any Personally Identifiable Information (PII) such as passwords, IP addresses, or other details with me.

Okta Privacy Policy and Terms of Service apply