Skip to content
This repository has been archived by the owner on Jun 14, 2021. It is now read-only.

Commit

Permalink
Addresses Andy's comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vijetm committed Nov 12, 2019
1 parent 46aa3a6 commit a11067a
Show file tree
Hide file tree
Showing 7 changed files with 59 additions and 5 deletions.
2 changes: 1 addition & 1 deletion examples/okta_app_basic_auth/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# okta_app_bookmark
# okta_app_basic_auth

Represents an Okta Basic Auth App. [See Okta documentation for more details](https://developer.okta.com/docs/reference/api/apps/#add-basic-authentication-application).

Expand Down
2 changes: 2 additions & 0 deletions examples/okta_app_basic_auth/basic_updated.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,6 @@ resource "okta_app_basic_auth" "test" {
id = "${okta_user.user.id}"
username = "${okta_user.user.email}"
}

groups = ["${okta_group.group.id}"]
}
2 changes: 2 additions & 0 deletions examples/okta_app_bookmark/basic_updated.tf
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ resource "okta_app_bookmark" "test" {
id = "${okta_user.user.id}"
username = "${okta_user.user.email}"
}

groups = ["${okta_group.group.id}"]
}
1 change: 0 additions & 1 deletion okta/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,6 @@ func Provider() terraform.ResourceProvider {
"okta_saml_idp_signing_key": deprecateIncorrectNaming(resourceIdpSigningKey(), idpSamlKey),
"okta_social_idp": deprecateIncorrectNaming(resourceIdpSocial(), idpSocial),
"okta_bookmark_app": deprecateIncorrectNaming(resourceAppBookmark(), appBookmark),
"okta_basic_auth_app": deprecateIncorrectNaming(resourceAppBasicAuth(), appBasicAuth),
"okta_saml_app": deprecateIncorrectNaming(resourceAppSaml(), appSaml),
"okta_oauth_app": deprecateIncorrectNaming(resourceAppOAuth(), appOAuth),
"okta_oauth_app_redirect_uri": deprecateIncorrectNaming(resourceAppOAuthRedirectUri(), appOAuthRedirectUri),
Expand Down
3 changes: 0 additions & 3 deletions okta/resource_okta_app_basic_auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import (

func resourceAppBasicAuth() *schema.Resource {
return &schema.Resource{
CustomizeDiff: func(d *schema.ResourceDiff, v interface{}) error {
return nil
},
Create: resourceAppBasicAuthCreate,
Read: resourceAppBasicAuthRead,
Update: resourceAppBasicAuthUpdate,
Expand Down
51 changes: 51 additions & 0 deletions website/docs/r/app_basic_auth.html.markdown
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
---
layout: "okta"
page_title: "Okta: okta_app_basic_auth"
sidebar_current: "docs-okta-resource-app-basic-auth"
description: |-
Creates a Basic Auth Application.
---

# okta_app_basic_auth

Creates a Bsaic Auth Application.

This resource allows you to create and configure a Basic Auth Application.

## Example Usage

```hcl
resource "okta_app_basic_auth" "example" {
label = "Example"
url = "https://example.com/#.html"
auth_url = "https://example.com/auth.html"
}
```

## Argument Reference

The following arguments are supported:

* `label` - (Required) The Application's display name.

* `url` - (Optional) The URL of the sign-in page for this app.

* `auth_url` - (Optional) The URL of the authenticating site for this app.

## Attributes Reference

* `id` - ID of the Application.

* `label` - The Application's display name.

* `url` - The URL of the sign-in page for basic auth app.

* `auth_url` - The URL of the authenticating site for basic auth app.

## Import

A Basic Auth App can be imported via the Okta ID.

```
$ terraform import okta_app_basic_auth.example <app id>
```
3 changes: 3 additions & 0 deletions website/okta.erb
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@
<li<%= sidebar_current("docs-okta-resource-app-bookmark") %>>
<a href="/docs/providers/okta/r/app_bookmark.html">okta_app_bookmark</a>
</li>
<li<%= sidebar_current("docs-okta-resource-app-basic-auth") %>>
<a href="/docs/providers/okta/r/app_basic_auth.html">okta_app_basic_auth</a>
</li>
<li<%= sidebar_current("docs-okta-resource-app-group-assignment") %>>
<a href="/docs/providers/okta/r/app_group_assignment.html">okta_app_group_assignment</a>
</li>
Expand Down

0 comments on commit a11067a

Please # to comment.