Mark Burggraf

Results 78 comments of Mark Burggraf

@GaryAustin1 Ah, so what does `session_user` return now? Maybe we should only return true in this case if `session_user` is a specific value? That would be more secure, no?

Here's a proposal. Instead of checking `session_user` what if we instead check to see if `current_setting('request.jwt', true)::jsonb` has a value? In other words, "if there is a jwt, we know...

I'm going to test this: ```sql CREATE OR REPLACE FUNCTION has_jwt() RETURNS "bool" LANGUAGE "plpgsql" AS $$ BEGIN return (select current_setting('request.jwt', true)::jsonb null); END; $$; ```

That's not working for me. Back to the original code, can you create this function and call it from your app via `.rpc()` to see what it returns (in self-hosted...

In looking at this again, it does look to be correct (the false part is just a default value if it's not set, so this look correct now): ```sql IF...

I've seen this issue myself when I tried to load that extension initially. I'll look at this when we start to add documentation for the individual extensions. We may need...

I just spun up a new Supabase project and ran the `EASY-INSTALL-V1.5.SQL` in a query window, and it worked just fine for me. Is your project an older one, or...

Awesome, @HarveySupper! Can you clarify the exact steps you're performing here so I can add this to the docs? I appreciate it!

Do you get an error message or can you provide any more information on the error you're getting? Have you tried resetting the user's password?

Maybe try changing the timeout value(s) [https://supabase.com/docs/guides/database/timeouts](https://supabase.com/docs/guides/database/timeouts). But honestly, I've never seen this come up before, no matter how big the database is. Is this error coming from your Supabase...