Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Change JWT claim from 'Role' to 'role'

jasonho-lynx1f6806426c00
diff --git a/web/docs/guides/self-hosting.mdx b/web/docs/guides/self-hosting.mdx
index 8a5bb1d4b75..887356d9a6c 100644
--- a/web/docs/guides/self-hosting.mdx
+++ b/web/docs/guides/self-hosting.mdx
@@ -97,7 +97,7 @@ The data you will need to encode includes:
"exp": 2550653634,
"aud": "",
"sub": "",
- "Role": "anon"
+ "role": "anon"
}
# service_role Payload:
{
@@ -106,7 +106,7 @@ The data you will need to encode includes:
"exp": 2550653634,
"aud": "",
"sub": "",
- "Role": "service_role"
+ "role": "service_role"
}
```