# Question on Supabase

**URL:** <https://community.thunkable.com/t/question-on-supabase/2788783>\
**Category:** Questions about Thunkable X\
**Created:** [January 18, 2024, 2:42am UTC](https://community.thunkable.com/t/question-on-supabase/2788783 "2024-01-18T02:42:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [January 18, 2024, 2:42am UTC](https://community.thunkable.com/t/question-on-supabase/2788783/1 "2024-01-18T02:42:26Z")

</div>

Hi,

I am new to Supabase and still working my way through how to authenticate and have a few questions.

If I have Row Level Security turned on in Supabase, what do I have to do to run queries?

Thanks  
Steve

---

<div class="post-metadata">

**Author:** ![jared](https://sea1.discourse-cdn.com/flex015/user_avatar/community.thunkable.com/jared/32/138473_2.png) [@jared](https://community.thunkable.com/u/jared)\
**Post date:** [January 18, 2024, 1:12pm UTC](https://community.thunkable.com/t/question-on-supabase/2788783/2 "2024-01-18T13:12:15Z")

</div>

with RLS turned on, you’ll usually be sending requests that include the users authToken in the header

So, you make the original login attempt. Supabase returns an access\_token

 ![Screenshot 2024-01-18 at 8.09.50 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/f/8f53205efdeefb223a972fa295b2037c62493961.png)

so then in subsequent API calls you’ll use thatt value PLUS your public API key in your api call headers.

 ![Screenshot 2024-01-18 at 8.10.12 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/8/2/826a485e06ffc6d9e9456fa06880661f8884b093.png)

and then you execute the GET/POST/PUT/DELETE  
e.g.

 ![Screenshot 2024-01-18 at 8.10.51 AM](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/d/5/d5763313aa29e0e898f7ad1db91ceb0388b03833.png)

---

<div class="post-metadata">

**Author:** ![steve\_synopsis](https://avatars.discourse-cdn.com/v4/letter/s/48db29/32.png) [@steve\_synopsis](https://community.thunkable.com/u/steve_synopsis)\
**Post date:** [January 18, 2024, 5:10pm UTC](https://community.thunkable.com/t/question-on-supabase/2788783/3 "2024-01-18T17:10:27Z")

</div>

Thanks very much!!

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/thunkable/original/3X/0/f/0f59f292712368bce16ff80133ae10de8a6f27e8.png) [@system](https://community.thunkable.com/u/system)\
**Post date:** [April 17, 2024, 5:10pm UTC](https://community.thunkable.com/t/question-on-supabase/2788783/4 "2024-04-17T17:10:45Z")

</div>

Closed on April 17, 2024, 5:10pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
