Hey there! https://discord.com/channels/
Hey there! https://discord.com/channels/853498675484819476/1187400437993848892
Anyone able to help me with this? I'd like to secure my REST API requests with some sort of secure tokens. Are we obliged to use firebase for this?
3 Replies
Hi, You can connect the Request object sourced from your Rest API Trigger with the 'Get Authorization node'. Subsequently, you can create a branching path to verify whether the authorization header value matches your designated secret value (such as an API token or bearer). ref: https://discord.com/channels/853498675484819476/1174810970401542275/1175007442938101780
Awesome thanks so much! I missed on that, wasn't too clear for me in the docs.
Hi @Gaurav Chadha is there somewhere I can read more about this Get Authorization Header workflow? I am a little bit lost as to how to use it.
Additionally, forgive me if you are not in a position to answer this, however I'd love to hear your advice:
To keep things backend-to-backend, I am writing an SQL function (Supabase) to send a POST request to initiate my Buildship workflow. My authenticated front-end will REST request my SQL function in my backend, which in turn will REST request Buildship to launch my workflow - in this particular case, how could a secure authorization header be sent from my Supabase backend? Would it be foolish to use my service_key?
Hi @Adrarc For Authorization Header you can refer this example - https://docs.buildship.com/basics/api-spec#example-scenario---implementing-byokit shows how you can set an Authorization from your REST Trigger request. Next then match it via passing variable in the Get Authorization Header node (not mentioned in the above example docs).
I see you are using Supabase, then this video might be very useful in this case - https://www.youtube.com/watch?v=uhc8732Dpq4
The Digital Pro's NoCode Academy
YouTube
#BuildShip + #FlutterFlow - Create a secure #Supabase Workflow!
#BuildShip is a lowcode visual backend builder that lets you ship APIs, scheduled jobs, backend cloud functions instantly. Powered by AI, create your own workflow nodes, connect to any tool, database and create scalable backend for your apps.
In this video I walk you through creating a workflow which is based on a scenario presented within a #F...
API Specification – BuildShip
A unified resource to start building your backend with low-code. Dive into triggers, nodes, and step-by-step guidance to jumpstart your workflow creation.