-
-
Notifications
You must be signed in to change notification settings - Fork 230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Storage Auth #141
Comments
Looks like the API accepts the So if the user is logged in, perhaps we can send the UUID here: supabase-js/src/lib/storage/StorageApi.ts Line 109 in 8749488
Also, I see that the StorageClient gets the Auth headers here but what happens if a user isn't logged in, and then they log in. The headers for Storage aren't updated right? |
Instead of using |
Chore
Describe the chore
Not sure we are passing in the JWT headers to the storage API? like this
supabase-js/src/SupabaseClient.ts
Line 161 in 8749488
Additional context
If we do this, should we also set the
owner
of the file? This would make RLS policies easierThe text was updated successfully, but these errors were encountered: