Vonage / vonage-laravel

Laravel Service Provider for integrating Vonage APIs
Apache License 2.0
34 stars 8 forks source link

Use the 'api_secret' config field rather than 'application_id' #4

Closed ash-jc-allen closed 1 year ago

ash-jc-allen commented 1 year ago

Hey!

I've been tinkering with sending WhatsApp messages using this package and kept running into an authentication issue. I had a look through the service provider and I think I might have found the issue.

It seems that the application_id field is being used for the basic credentials rather than the api_secret field.

I've only been using this package for an hour or so, so I might be wrong, and this might be intentional. I do apologise if that's the case!

Hopefully, this is a bug that I've fixed though? 😄