Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Add support for custom sms gateway #230

Merged
merged 2 commits into from
Oct 11, 2021

Conversation

grese
Copy link

@grese grese commented Jul 22, 2021

Proposed Changes

Adding support for custom sms gateway as described in alexkappa/terraform-provider-auth0 #416, and implemented in alexkappa/terraform-provider-auth0 #417. This PR makes the following changes:

  • Add "omitempty" to TwilioSID, TwilioToken, and MessagingServiceSID (they need to be omitted for custom gateway)
  • Add Provider, GatewayUrl, GatewayAuthentication, and ForwardRequestInfo fields to ConnectionOptionsSMS
  • Added ConnectionGatewayAuthentication to support the custom authentication options for tokens sent to sms gateway

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" comments, they generate extra noise for pull request followers and do not help prioritize the request

@grese grese changed the title added support for custom sms gateway Add support for custom sms gateway Jul 22, 2021
@yvovandoorn yvovandoorn requested a review from alexkappa August 3, 2021 08:20
@yvovandoorn
Copy link
Contributor

@alexkappa could you review? What is the impact to current users that have Twilio configured?

Revert change to continue matching style.
@yvovandoorn yvovandoorn merged commit 34e90ae into go-auth0:master Oct 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants