Commit Graph
18 Commits
Author SHA1 Message Date
d8bd6b047c docs: Examples Key changes (#45170)
## I have read the
[CONTRIBUTING.md](https://github.com/supabase/supabase/blob/master/CONTRIBUTING.md)
file.

YES

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Documentation**
* Updated examples and guides to use Supabase publishable (client) keys
instead of anon keys for client-side usage across frameworks and
platforms.
* Renamed environment variable examples and .env templates to reflect
publishable key naming.
* Adjusted sample requests and client-init examples to send/use the
publishable key via the apikey header where applicable.
* Updated references from service_role to secret for server-side
credential guidance.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
Co-authored-by: fadymak <fady@fadymak.com>
2026-05-04 12:58:16 +02:00
Ivan Vasilov d07e78a616 chore: Run prettier on examples folder (#43851)
This PR runs `prettier` on the `examples` folder.

Depends on https://github.com/supabase/supabase/pull/43849.
2026-03-18 10:51:10 +01:00
Stojan DimitrovskiandChris 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
Andrew Valleteau 5f0a8ef618 chore(docs): update nextjs slack clone (#30894)
* chore(docs): wip update nextjs slack

* chore: polish configtoml

* chore: add next.config.js

* chore: setup for valid nextjs deploy
2024-12-05 21:36:13 +08:00
cylussandCharis bfa54a2ca1 docs: Fix incorrect RLS original word in examples (#26937)
Fix incorrect RLS original word

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-06-04 01:08:30 +00:00
Inian 66a51bf817 remove live slack clone demo (#22644)
Example doesn't work already. Got Thor's confirmation [here](https://supabase.slack.com/archives/CS7RWBQ8K/p1712822464678959?thread_ts=1712668278.893099&cid=CS7RWBQ8K)
2024-04-12 12:55:36 +10:00
Han Qiao 5f11d81630 chore: create .env.example for bootstrap nextjs (#22309) 2024-03-28 21:17:16 +08:00
Thor 雷神 SchaeffandCharis 7ce6958030 feat: add rbac claim auth hook. (#21263)
* feat: add rbac claim auth hook.

* feat: get user role from jwt.

* chore: update full-schema.

* feat: add RBAC guide.

* feat: use plpgsql.

* Apply suggestions from code review

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>

* chore: make top level claim.

* chore: set search_paths.

* chore: accessing custom claims.

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-04 14:24:32 +00:00
Jon Meyers a750896a34 Docs: remove outdated section from Slack Clone example (#18600)
remove outdated section from Slack Clone example
2023-11-01 00:26:37 +00:00
Thomas Eckl 1d2dc39cc4 fix: prevent error during local startup
Bump of supabase-js brought warning concerning not provided session storage option.
Therefore switched to SupabaseClient creation via auth-helpers-nextjs which means switching from localStrage to cookieStorage.
2023-07-03 00:10:11 +02:00
Greg Richardson 26be8af745 chore: change dashboard links to new url 2023-06-22 09:32:18 -06:00
dannykng 9370244537 Revert "chore: remove examples"
This reverts commit 05b96de142.
2022-09-16 10:13:18 -07:00
Isaiah Hamilton 05b96de142 chore: remove examples 2022-09-08 22:55:22 -04:00
Chris Bautista e8d1dd33a6 fix: vercel deploy button for slack clone 2022-07-28 11:15:13 -07:00
Jonathan Summers-Muir 5a38bd3d51 chore: update app.supabase.io links to app.supabase.com 2022-05-30 14:52:54 +08:00
Amin c3fa66de18 update more slack clone links 2022-05-19 10:53:29 +07:00
Copple e053fe7dc4 updates the deploy buttons 2022-04-27 17:28:35 +02:00
Copple 1b1bce93da organises the examples by function 2022-04-27 15:20:41 +02:00