Unable to refresh Supabase schema using supabase publishable key / flutterflow app cannot login with supabase authentication

Database & APIs

Hi I recently switched to new Supabase api keys - publishable key (replacing anon key) and secret (replacing service role key). But got the errors

1. substituted the supabase anon key in flutterflow with supabase's publishable key to refresh my integrated supabase schema - but got "error getting Supabase schema api response. pls check your connection info again."

2. could not login my flutterflow app - 'error - legacy api keys are disabled'

Appreciate any advice to resolve the issues. Prefer not to go back to legacy keys. Thank you.

What have you tried so far?

Read documentation in supabase for jwt, jwks, new api keys. Used chatgpt and gemini to try different approaches on supabase side. Performed different code settings but to no avail. Unable to find info. in the community and official flutterflow docs or google on this issue. Saw one outstanding issue raised to supabase by another user - unable to flutterflow unable to connect to supabase using publishable key https://github.com/supabase/supabase/issues/37493 no follow answer recorded yet

Did you check FlutterFlow's Documentation for this topic?
Yes
3