Closed
Description
String? url = "https://xxxx";
String? key = "xxxxxx";
Dictionary<String, String> keys = new Dictionary<String, String>
{
{ "CF-Access-Client-Id", "xxxx.access" },
{ "CF-Access-Client-Secret", "xxxxxx" }
};
var options = new Supabase.SupabaseOptions
{
AutoConnectRealtime = false,
Headers = keys
};
supabase = new Supabase.Client(url, key, options);
await supabase.InitializeAsync();
I have set up a Supabase instance behind Cloudflare. Now I need to pass additional headers with every request. I already tried with the code above. This doesn't seem to be working. Does anyone have an idea how I could achieve this?