After looking a bit at the supabase documentation, I saw that the authentication is not Basic but Bearer (which means in return that one should have to change this in the client.go file of postgrest.)
I propose two solution:
whether to amend it on the static string of the TokenAuth (I just did it myself line 59 of client.go). then is will go to
After looking a bit at the supabase documentation, I saw that the authentication is not Basic but Bearer (which means in return that one should have to change this in the client.go file of postgrest.) I propose two solution:
whether to amend it on the static string of the TokenAuth (I just did it myself line 59 of client.go). then is will go to
or to amend it dynamically (I do not really now how PostgreSQL works, so if there are different type of authorization I could envisage the following)