docs: Update auth.mdx to include important note about local testing (#32946)

* Update auth.mdx to include important note about local testing

* Apply suggestions from code review

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io>
This commit is contained in:
authored and GitHub committed 2026-01-13 07:15:39 +00:00
1 parent 417f92268d
commit ec6e5ee05f
1 file changed
+4 -1
+4 -1
View File
@@ -32,7 +32,10 @@ Following the [upcoming API key changes](https://github.com/orgs/supabase/discus
## Integrating with Supabase Auth
The simplest way to secure your endpoints is by using Supabase Auth to verify users.
Important notes to consider:
- This is done _inside_ the `Deno.serve()` callback argument, so that the Authorization header is set for each request.
- Use `Deno.env.get('SUPABASE_URL')` to get the URL associated with your project. Using a value such as `http://localhost:54321` for local development will fail due to Docker containerization.
<$Partial path="api_settings.mdx" variables={{ "framework": "", "tab": "" }} />