[In-App Chat Web] 401 Unauthorized when using In App Chat (Firebase)

Forge Component
Published on 2017-11-23 by Labs
6 votes
Published on 2017-11-23 by Labs

Hi In App Chat team!

I followed the guide how to configure firebase here: https://www.outsystems.com/forums/discussion/25871/how-to-configure-the-firebase-plugin/

At this time I have a ProjectId and a Secret. When I set those values in the site properties that are available in the InAppChatWebSample module I still get: 401 Unauthorized responses from the firebase service.

Did something change in the Firebase configuration, so that this component no longer works?

Kind regards,
Martijn Habraken


Hi Martijn.

Firebase changed its process in creating a database for the project. You now have two options:

Locked Mode and Test Mode.
In Locked Mode, the database cannot be updated, and so, the receiver is not notified on the changes.

Please try the settings for the Test Mode, by changing your database rules to the following:

   "rules":  {
       ".read" : true,
       ".write" : true

Hope this helps.


Rui Mendes


Hi Rui,

Thanks for your response. This worked and I'm able now to use the In App Chat.

Kind regards,
Martijn Habraken

I spent hours trying to figure out what was going on and this was the solution all along thank you!!

Thanks Rui Mendes

For me work fine!!!