The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Adds the `jwt()` function
Copple0ddb0f65e6ac
diff --git a/web/docs/guides/auth/row-level-security.mdx b/web/docs/guides/auth/row-level-security.mdxindex c75735384e0..284b2691849 100644--- a/web/docs/guides/auth/row-level-security.mdx+++ b/web/docs/guides/auth/row-level-security.mdx@@ -46,11 +46,15 @@ Supabase provides you with a few easy functions that you can use with your policReturns the ID of the user making the request.+### `auth.jwt()`++Returns the JWT of the user making the request.+### `auth.role()`:::caution-Deprecated+Deprecated:::@@ -74,6 +78,12 @@ using (### `auth.email()`+:::caution++Deprecated. Use `auth.role -> 'email'` instead.++:::+Returns the email of the user making the request.## Examples