Page 1 of 1

Twilio

Posted: Wed May 06, 2015 8:46 am
by Andy Jacobs

I'm probably being dumb here but I want to confirm the process for creating the secure database. I'm going from here:

https://devcenter.appery.io/documenta...

I've found my AccountSid and AuthToken.

I combine them like 12345:abcde

It looks like I put 12345:abcde in the accountSidProxy box and then I encode 12345:abcde to get xyxyxyxyxyxyxy and enter Basic xyxyxyxyxyxyxy into the authString box is this correct?

Regards
Andy


Twilio

Posted: Wed May 06, 2015 9:07 am
by Andy Jacobs

Just to add, I've done what I've proposed above but I get "Error sending message" when I test the app.

I'm using my live credentials and I've added credit to my account.


Twilio

Posted: Wed May 06, 2015 3:45 pm
by Andy Jacobs

I've fixed it but I don't know if it has any security implications. I've set the database up as per the tutorial but I've also added the actual value in for accountSid into the Twilio_settings service.

Also, and this wasn't because of the problem, I've removed some mappings and hard coded the To phone number and body text.

In about 2 hours I'll know if works as it's an event driven text rather than one that gets sent on a button. Looked good when I was testing :)


Twilio

Posted: Wed May 06, 2015 5:17 pm
by maxkatz

Yes, you put the encoded value (Basic abc...) into authString value into the database.