when I ship and test with "auth = false
when I ship and test with "auth = false" in the header, I still get the 200 response
10 Replies
make the branch condition "auth == true", and the pass false it will go to else condition, and add pass 1 it will go to then condition.
Also, since you are using Supabase you can refer this - 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...
yeah I saw that video, the API isn't accessing my Supabase, just want to make sure only users loggged in
the first step is working when I did "auth == true", what do you mean by add pass 1?
Both are going to else
condition is "auth == true"
Yes, since it the type is boolean it won't authoirze until it will get bool value true 1, pass 1 in the value of Header when testing. As currently it is reading and comparing it as string.
that makes sense, thank you!
it's working
do header calls show in the network tab? can someone inspect the call on the browser and see the auth header request?
The call will show but not the auth value/key, you can test by shippin gyour API and testing it on Postman.
thanks for all the help!