Skip to content

Commit

Permalink
Merge pull request #2729 from terraform-providers/azuread/app-replyurls
Browse files Browse the repository at this point in the history
azuread_application: correctly read reply URL's from SDK
  • Loading branch information
tombuildsstuff authored Jan 22, 2019
2 parents c22cc08 + 39bd986 commit 8b29902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion azurerm/resource_arm_azuread_application.go
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ func resourceArmActiveDirectoryApplicationRead(d *schema.ResourceData, meta inte
}

replyUrls := make([]string, 0)
if s := resp.IdentifierUris; s != nil {
if s := resp.ReplyUrls; s != nil {
replyUrls = *s
}
if err := d.Set("reply_urls", replyUrls); err != nil {
Expand Down
2 changes: 1 addition & 1 deletion azurerm/resource_arm_azuread_application_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ func testAccAzureRMActiveDirectoryApplication_complete(id string) string {
resource "azurerm_azuread_application" "test" {
name = "acctest%s"
homepage = "https://homepage-%s"
identifier_uris = ["http://%s.hashicorptest.com"]
identifier_uris = ["http://%s.hashicorptest.com/00000000-0000-0000-0000-00000000"]
reply_urls = ["http://%s.hashicorptest.com"]
oauth2_allow_implicit_flow = true
}
Expand Down

0 comments on commit 8b29902

Please sign in to comment.