# Supabase auth auth.uid() doesn't work but user\_id does?

**URL:** <https://community.weweb.io/t/supabase-auth-auth-uid-doesnt-work-but-user-id-does/4246>\
**Category:** Ask us anything\
**Tags:** supabase\
**Created:** [September 7, 2023, 4:05am UTC](https://community.weweb.io/t/supabase-auth-auth-uid-doesnt-work-but-user-id-does/4246 "2023-09-07T04:05:29Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Broberto](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/broberto/32/5918_2.png) [@Broberto](https://community.weweb.io/u/Broberto)\
**Post date:** [September 7, 2023, 5:01pm UTC](https://community.weweb.io/t/supabase-auth-auth-uid-doesnt-work-but-user-id-does/4246/4 "2023-09-07T17:01:20Z")

</div>

Yes, I just answered it in an another topic, with the current Supabase Plugin for WeWeb version, you need to have the same SELECT RLS as well.

Check this out

> [@Help with Supabase RLS policies](https://community.weweb.io/t/help-with-supabase-rsl-policies/4251/11):
>
> Yes, the answer to why is in this thread, it is not optimal, but it is how the plugin works underneath. @Alexis you might want to check the { returning: 'minimal' }) for your Supabase Plugin Update, it’s mentioned as a thing that could solve the issue.

---

_[View the full topic](https://community.weweb.io/t/supabase-auth-auth-uid-doesnt-work-but-user-id-does/4246)._
