# How to set "logon initiated by" value using Terraform?

**URL:** <https://devforum.okta.com/t/how-to-set-logon-initiated-by-value-using-terraform/11357>\
**Category:** API\
**Tags:** api, terraform\
**Created:** [October 14, 2020, 7:37pm UTC](https://devforum.okta.com/t/how-to-set-logon-initiated-by-value-using-terraform/11357 "2020-10-14T19:37:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwilczak](https://avatars.discourse-cdn.com/v4/letter/j/3bc359/32.png) [@jwilczak](https://devforum.okta.com/u/jwilczak)\
**Post date:** [October 14, 2020, 7:37pm UTC](https://devforum.okta.com/t/how-to-set-logon-initiated-by-value-using-terraform/11357/1 "2020-10-14T19:37:08Z")

</div>

I have the below Terraform script (using a module) to create apps in our Okta instance. However, I can’t find anywhere on how to modify the “logon initiated by” value… am I missing something?

```
module "app" {
  source = "./modules/apps"

  label = "TruConnect"
  type = "web"
  grant_types = ["authorization_code","implicit"]
  redirect_uris = ["https://www.google.com"]
  response_types = ["token", "id_token", "code"]
  auto_redirect = "true"
  hide_web = "false"
}
```

---

<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:** [October 14, 2020, 11:45pm UTC](https://devforum.okta.com/t/how-to-set-logon-initiated-by-value-using-terraform/11357/2 "2020-10-14T23:45:06Z")

</div>

As mentioned in [this post](https://devforum.okta.com/t/login-initiated-by-setting-through-api/6358/4), there is no way to configure the “Login initiated by” value via a public API endpoint.

There is a feature request in our Ideas portal about this that you can vote on to raise the visibility of this request to our product/engineering teams: [Idea #112137](https://ideas.okta.com/app/#/case/112137)

---

<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:** [October 15, 2020, 11:45pm UTC](https://devforum.okta.com/t/how-to-set-logon-initiated-by-value-using-terraform/11357/3 "2020-10-15T23:45:09Z")

</div>

Closed on October 15, 2020, 11:45pm UTC

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