ec6e5ee05f
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 >
2026-01-13 07:15:39 +00:00
Kalleby Santos and Chris Chinchilla
037e5f90a5
docs: improvements on securing Edge Functions guide ( #41727 )
...
* stamp: using CodeSample to dynamic load jwt examples
* stamp: lint
* stamp: using latest 'jose' lib on jwt examples
* stamp: update 'jose' lib link
* Update apps/docs/content/guides/functions/auth.mdx
---------
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com >
2026-01-07 14:26:40 +00:00
0a8e264102
feat(docs): edge functions JWT Signing Keys guide ( #41444 )
...
* feat: edge functions legacy jwt auth guide
* stamp: adding `verify_jwt` disclaimer
* stamp: manual verify jwt example
* stamp: improving example
* stamp: improve supabase auth example
* feat: adding signing keys to jwt templates
* stamp: cleaning
* stamp: applying mdx-lint
* stamp: format
* stamp: applying ai suggestions
* stamp: improving jwt lib example
* stamp: cleaning
* stamp: typo
* stamp: applying suggestions
* stamp: applying suggestions
* stamp: applying improvements suggestions
* stamp: ponctuation typo
* stamp: ponctuation typo
* Update apps/docs/content/guides/functions/auth.mdx
* Update apps/docs/content/guides/functions/auth.mdx
* Apply suggestions from code review
* Update apps/docs/content/guides/functions/auth.mdx
* Update apps/docs/content/guides/functions/auth.mdx
* Update apps/docs/content/guides/functions/auth.mdx
* Update apps/docs/content/guides/functions/auth.mdx
---------
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io >
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com >
2026-01-05 14:29:02 +01:00
Chris Chinchilla
336788b120
docs: Correct key usage in edge function docs ( #38545 )
...
Correct keys
2025-09-09 18:06:33 +10:00
Stojan Dimitrovski and Chris Chinchilla
93ba2a312c
docs: indicate publishable key instead of anon in many examples ( #37411 )
...
* docs: indicate publishable key instead of anon in many examples
* replace your-anon-key to string indicating publishable or anon
* fix your_...
* apply suggestion from @ChrisChinchilla
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com >
* Update keys in code examples
* Prettier fix
* Update apps/docs/content/guides/functions/schedule-functions.mdx
---------
Co-authored-by: Chris Chinchilla <chris@chrischinchilla.com >
2025-08-18 13:47:48 +02:00
Lydia Hallie and Charis
a26c01217d
Update Edge Functions docs ( #36798 )
...
* Update Environment Variables docs
* Update Dependencies docs
* Add Function Configuration d ocs
* Add custom Configuration section in Navigation
* Add Error Handling section
* Add new HTTP Methods section
* Update Deno 2 Guide
* Update nav
* Rm deno2 nav
* Update Deploy section
* Update CI/CD section
* Update Logging
* Update Testing
* Update Local Debugging
* Update Troubleshooting
* Update Nav
* Update CLI Quickstart
* Update Dashboard Quickstart
* Update Development Environment
* Update Nav
* Fix links
* Update apps/docs/content/guides/functions/quickstart-dashboard.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/development-environment.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/development-environment.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/quickstart.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Use $CodeSample for multi-root example
* Use tocVideo instead of video embed
* Rm typo
* Switch Quickstart ordering
* Rephrase Docker requirement for deployment
* Add Project Structure section
* style: fix docs lint issues
* Update Regional Invocations
* Update Error Handing
* Fix linting
* Fixes
* Remove duplicate sections
* Update Auth integration
* Update Storage
* Update Database/Postgres
* Update Nav
* Update Background Tasks
* Update Ephemeral Storage
* Update Websockets
* Update Routing
* Update wasm
* Update AI models
* Fix linting issues
* Update apps/docs/content/guides/functions/ai-models.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/ai-models.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/ai-models.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/storage-caching.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/websockets.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/websockets.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/functions/ai-models.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Rm unnecessary lines
* Rm wrong example
* Fix typo
* Rm deno2
* Move CICD to deployment and rename routing
* Fix whitespace
* rm unnecessary spelling
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-07-10 14:18:01 +00:00
Kevin Kuhl
82715efc25
Correct auth.mdx examples ( #34746 )
2025-06-12 20:55:24 +00:00
Lakshan Perera
3c390c7891
chore: Use npm specifier instead of jsr for supabase-js imports ( #36291 )
...
chore: update examples to use npm specifier instead of jsr
2025-06-09 22:36:48 -04:00
Filippo Brigati and Charis
83947491f3
Add user token initialization in auth.mdx ( #32997 )
...
* Add user token in auth.mdx
I added the part of the code responsible for initializing the Supabase client with the token passed via the header, to ensure compliance with RLS (Row-Level Security).
As shown on this page:
https://github.com/supabase/supabase/blob/master/examples/edge-functions/supabase/functions/select-from-table-with-auth-rls/index.ts
Otherwise authentication will not be completed.
* make js compatible
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-06-02 16:02:49 -04:00
Rodrigo Mansueli
f233c78794
Chore: update also last example on the page ( #32809 )
2025-01-16 06:28:41 +11:00
Rodrigo Mansueli
3e94bc483c
Chore: update edge function example ( #32808 )
...
Update auth.mdx
2025-01-15 15:20:43 -03:00
Charis
f4779d4844
refactor: migrate guides to app router ( #23101 )
...
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Thor 雷神 Schaeff
0dbb5e5225
docs: update deno deps to jsr. ( #27766 )
...
docs: update deno desp to jsr.
2024-07-03 18:06:55 +08:00
grumpy-miner and Charis
5da928a0a1
Update auth.mdx - update fetching the user code example ( #26614 )
...
Update auth.mdx
Add constant authHeader in code example of Fetching the user
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-05-21 23:33:44 +00:00
ec86bbc4fe
feat: new auth ia ( #22812 )
...
Co-authored-by: Kang Ming <kang.ming1996@gmail.com >
Co-authored-by: Joel Lee <lee.yi.jie.joel@gmail.com >
2024-05-07 20:15:06 +00:00
Simon Ha and Charis
597c554e7a
[WIP] 20771/fix auth get user for edge functions ( #23155 )
...
* docs: fix RPC sql example
* docs: fix auth.getUser() calls to use auth.getUser(jwt)
- add lines to get token before calling auth.getUser() as session is not
set after setting authHeader in client
* Apply suggestions from code review
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2024-04-30 20:34:58 +00:00
Charis
42723d8232
refactor: move ai, realtime, functions, remaining auth docs to content directory ( #21259 )
2024-02-14 17:39:05 +00:00