vlototskyi
vlototskyi10mo ago

Firebase Authenticated User Trigger

The documentation says that you need to make a POST request to this trigger. Is there any way to use this trigger for GET/PATCH/DELETE requests or do I need to add custom triggers to include Firebase Auth in my endpoints. If so, can you suggest me how to do it?
2 Replies
Shams
Shams10mo ago
At this stage the firebase authenticated trigger is restricted to post method and all the parameters needs to be passed in the body I would suggest just using the post method for all operations you want to preform, we will make the trigger configurable in the future to allow for setting of method and path So it will be easy to change afterwards
vlototskyi
vlototskyiOP10mo ago
Got it, I've just copied this trigger code to new empty node and everything works good. Thanks 🙂