reuben
reuben10mo ago

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
Gaurav Chadha
Gaurav Chadha10mo ago
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.
Gaurav Chadha
Gaurav Chadha10mo ago
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...
reuben
reuben10mo ago
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?
reuben
reuben10mo ago
No description
No description
reuben
reuben10mo ago
Both are going to else condition is "auth == true"
Gaurav Chadha
Gaurav Chadha10mo ago
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.
Gaurav Chadha
Gaurav Chadha10mo ago
No description
reuben
reuben10mo ago
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?
Gaurav Chadha
Gaurav Chadha10mo ago
The call will show but not the auth value/key, you can test by shippin gyour API and testing it on Postman.
No description
reuben
reuben10mo ago
thanks for all the help!