supabase-community / postgrest-go

Isomorphic Go client for PostgREST. (Now Updating)
https://supabase.io
Apache License 2.0
170 stars 27 forks source link

Change authorization header #22

Closed benjamin-arfa closed 2 years ago

benjamin-arfa commented 2 years ago

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:

yusufpapurcu commented 2 years ago

Yep you are right I will change it to "Bearer" after testing 👍

yusufpapurcu commented 2 years ago

Solved, thanks for warning @BenjaminArfa 💯