Endor
Endor13mo ago

Question about security and auth in the trigger node

Hi, I´m building an app with flutterflow, supabase and trying to use buildship for some additional functionality. What I´m missing so far in the documentation is the security part for the trigger (API call). How could this be implemented (Bearer Token, etc..) I found an node "check auth header", but not sure how to implement this.
2 Replies
Interlooper
Interlooper13mo ago
@Endor You can plug the Request object from your Rest API node into "Get Authorization node". Then use branch from there to check if authorization header value == your secret value (API token, bearer etc). The secret key can be stored in the project settings. Atleast, this is how I use it 🙂
No description
Endor
EndorOP13mo ago
@Interlooper awesome, thank you very much. it works perfectly. that was the missing link.