twilio / twilio-ruby

A Ruby gem for communicating with the Twilio API and generating TwiML
MIT License
1.35k stars 462 forks source link

feat!: Add secondary token support to Rack::TwilioWebhookAuthentication #600

Open jsteinberg opened 2 years ago

jsteinberg commented 2 years ago

Fixes

Add support for multiple auth tokens to Rack::TwilioWebhookAuthentication middleware. The goal of having multiple tokens is to support Secondary Auth Tokens

A short description of what this PR does.

Checklist

cristofer commented 1 year ago

@jsteinberg are you still using a forked version of Twilio-ruby to accomplish this, just because nobody cares about giving feedback on this feature?

jsteinberg commented 1 year ago

@jsteinberg are you still using a forked version of Twilio-ruby to accomplish this, just because nobody cares about giving feedback on this feature?

Not using a fork. We just implemented this manually in the controller instead of relying on the middleware provided by the gem.

Its not a lot of code.

VALIDATORS.any? do |validator|