Skip to content

Commit

Permalink
Merge pull request #2320 from terraform-providers/b-azuread-replyurl
Browse files Browse the repository at this point in the history
azurerm_azuread_application: allow http for reply and identify urls
  • Loading branch information
katbyte authored Nov 15, 2018
2 parents 8a3270e + 0cdcb78 commit b3a4a00
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions azurerm/resource_arm_azuread_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ func resourceArmActiveDirectoryApplication() *schema.Resource {
MinItems: 1,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validate.URLIsHTTPS,
ValidateFunc: validate.URLIsHTTPOrHTTPS,
},
},

Expand All @@ -53,7 +53,7 @@ func resourceArmActiveDirectoryApplication() *schema.Resource {
Computed: true,
Elem: &schema.Schema{
Type: schema.TypeString,
ValidateFunc: validate.URLIsHTTPS,
ValidateFunc: validate.URLIsHTTPOrHTTPS,
},
},

Expand Down
4 changes: 2 additions & 2 deletions azurerm/resource_arm_azuread_application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,8 +200,8 @@ func testAccAzureRMActiveDirectoryApplication_complete(id string) string {
resource "azurerm_azuread_application" "test" {
name = "acctest%s"
homepage = "https://homepage-%s"
identifier_uris = ["https://%s.hashicorptest.com"]
reply_urls = ["https://replyurl-%s"]
identifier_uris = ["http://%s.hashicorptest.com"]
reply_urls = ["http://%s.hashicorptest.com"]
oauth2_allow_implicit_flow = true
}
`, id, id, id, id)
Expand Down

0 comments on commit b3a4a00

Please sign in to comment.