Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

azuread_application type native reply_urls validation error #88

Closed
steve-hawkins opened this issue May 29, 2019 · 2 comments
Closed

azuread_application type native reply_urls validation error #88

steve-hawkins opened this issue May 29, 2019 · 2 comments

Comments

@steve-hawkins
Copy link
Contributor

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureAD Provider) Version

Terraform v0.11.14

  • provider.azuread v0.3.1 (built from the following master commit ac25838)

Affected Resource(s)

  • azuread_application

Terraform Configuration Files

resource "azuread_application" "native" {
  name                       = "native"
  type                       = "native"
  reply_urls                 = ["urn:ietf:wg:oauth:2.0:oob"]
  available_to_other_tenants = false
  oauth2_allow_implicit_flow = true
}

Debug Output

Terraform DEBUG output

Expected Behavior

Creates an azuread_application of type native with the following reply URL:-

"urn:ietf:wg:oauth:2.0:oob"

Actual Behavior

Error: azuread_application.native: "reply_urls.0" url has no host: "urn:ietf:wg:oauth:2.0:oob"

Steps to Reproduce

  1. terraform apply

Important Factoids

This is a valid reply URL:-

az ad app show --id [REDACTED] | ConvertFrom-Json | Select-Object -ExpandProperty replyUrls
urn:ietf:wg:oauth:2.0:oob

References

@steve-hawkins
Copy link
Contributor Author

suggest this bug is added to the 0.4.0 milestone as the azuread_application type is also introduced in there

@ghost
Copy link

ghost commented Jun 30, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 hashibot-feedback@hashicorp.com. Thanks!

@ghost ghost locked and limited conversation to collaborators Jun 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants