PricingBlog

Supabase Edge Functions

  • alexsiale_17363-1272624582615896164

    Alex

    1 year ago

    If I am authenticating users in my Toddle app through Supabase with rowlevel security on. Do I need to set up Edge functions for all API calls to protect my keys?

    Just wondering when the best use case for edge functions are and if you need to use them for everything?

    For example, my CRM will have:
    - Data and Image upload forms sent to Supabase
    - GET / PUT requests from other APIs to retrieve AND send data from external databases
  • lucasg-1272953122523709484

    Lucas G

    1 year ago

    No that’s what the bearer token is for in your API call
  • You’d set a condition on your RLS to proper grant access to the data based on that token
  • You don’t really need to use edge functions often
  • alexsiale_17363-1273594347937333339

    Alex

    1 year ago

    Oh okay awesome
  • Thank you