This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 150
Verification for custom domains #227
Labels
Comments
Another problem is that the existing documentation doesn't say anything about the verification object that I'm supposed to use, what its fields are, or how to create the DNS record that ends up verifying my auth0 custom domain. |
@hugbubby unfortunately, not even the auth0 docs document the schema of the verification object, i had to figure that one out on my own... |
Will this approach support CNAME verification for Auth0 Managed Certificates? |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Community Note
Description
I noticed that the
auth0_custom_domain
resource doesn't verify the domain. I don't know much about the guts of Terraform's resource dependency, but I'd imagine that it's not possible to have theauth0_custom_domain
resource wait for the DNS record to work, since the DNS resource relies on the output of the custom domain resource. But perhaps there could be a separateauth0_custom_domain_verification
resource that could accomplish this?I see that the auth0 go package has a
Verify
method. In the simplest implementation, one could simplydepends_on
anull_resource
that sleeps for a bit. I suppose a more thorough implementation would wait for the actual DNS record to appear.New or Affected Resource(s)
auth0_custom_domain_verification
(I guess, see above)Potential Terraform Configuration
The text was updated successfully, but these errors were encountered: