I'm using botkit and I'm trying to get storage working through firebase.
I'm using the botkit-storage-firebase module: https://github.com/howdyai/botkit-storage-firebase
However when I try to save anything (or get anything), I'm getting Permission denied
from Firebase
controller.storage.users.save({ id: 'words', words: response.words });
I had to set the security rules of the database to:
{
"rules": {
".read": true,
".write": true
}
}
To be able to use it, however, leaving my database without security is obviously not what I want.
How can I authenticate with Firebase with the botkit-storage-firebase
module?