This repository has been archived by the owner on Mar 8, 2022. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Added support for custom sms gateway to the
auth0_connection
resource as described in #416. The process for setting up a custom SMS gateway is described in this auth0 post.NOTE: This PR relies on go-auth0/auth0 #230.
provider
toauth0_connection
resource (to specify a custom sms provider such as "sms_gateway")gateway_url
toauth0_connection
resource (for the url for the sms gateway)gateway_authentication
block toauth0_connection
resource (settings for the HS256 token sent to sms gateway). The block supports...method
(authentication method for the custom gateway - e.g. "bearer")subject
(subject claim for the token sent to custom gateway)audience
(audience claim for the token sent to custom gateway)secret
(secret used to sign the token sent to custom gateway)secret_base64_encoded
(specifies whether or not the secret is base64 encoded)forward_request_info
toauth0_connection
resource (specifies that request info such as ip and user-agent should be forwarded to the sms gateway)Terraform Configuration
Acceptance Test Output
Community Note