# Create OIDC APP via Terraform

**URL:** <https://devforum.okta.com/t/create-oidc-app-via-terraform/31214>\
**Category:** OAuth/OIDC\
**Tags:** terraform\
**Created:** [November 15, 2024, 1:50pm UTC](https://devforum.okta.com/t/create-oidc-app-via-terraform/31214 "2024-11-15T13:50:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![nelson1991](https://avatars.discourse-cdn.com/v4/letter/n/54ee81/32.png) [@nelson1991](https://devforum.okta.com/u/nelson1991)\
**Post date:** [November 15, 2024, 1:50pm UTC](https://devforum.okta.com/t/create-oidc-app-via-terraform/31214/1 "2024-11-15T13:50:24Z")

</div>

Hello Guys,

I am trying to create an OIDC app via terraform.  
The code works fine, although there is a field in the OKTA gui interface that is called IDP usage with 2 options:  
SSO  
Factor Only

I am not able to pass or identity in the okta developer page or postman collection , which parameters are related the above settings.  
Someone here can help?

Thank you,  
Nelson Matos

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [November 18, 2024, 4:15pm UTC](https://devforum.okta.com/t/create-oidc-app-via-terraform/31214/2 "2024-11-18T16:15:56Z")

</div>

Do you need to make/configure an OIDC application, [`okta-app-oauth`](https://registry.terraform.io/providers/okta/okta/latest/docs/resources/app_oauth) or an OIDC Identity Provider, [`okta_idp_oidc`](https://registry.terraform.io/providers/okta/okta/latest/docs/resources/idp_oidc)?

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [December 18, 2024, 4:16pm UTC](https://devforum.okta.com/t/create-oidc-app-via-terraform/31214/3 "2024-12-18T16:16:55Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
