Vaibhav
23064c0b5b
fix(docs): add missing variables to api_settings_steps partial calls ( #41364 )
...
PR #41200 introduced template variables ({{ .tab }}, {{ .framework }})
to api_settings_steps.mdx for deep-linking to the Connect dialog.
However, 4 auth docs pages were calling the partial without passing
the required variables prop, causing MDX parsing errors:
- Could not parse expression with acorn: Unexpected token
This resulted in 404 errors on:
- /docs/guides/auth/server-side/creating-a-client
- /docs/guides/auth/quickstarts/nextjs
- /docs/guides/auth/quickstarts/react-native
- /docs/guides/auth/quickstarts/react
Fixes the issue by adding the variables prop to match the pattern
used in other quickstart pages.
2025-12-15 14:27:04 -07:00
Chris Chinchilla
a3b7c8f3a7
docs: Check and clarify API keys ( #41200 )
...
* Update parial
* Add partial to quickstarts
* Auth section
* More
* Prettier
* Realtime
* Add soft links to frameworks
* Add tab
* Fix typo
* More changes
* Updates
* Prettier
2025-12-15 16:45:21 +01:00
Chris Chinchilla and kallebysantos
ae727a4659
docs: update supabase docs for nextjs 16 proxyts change ( #40555 )
...
* Quickstart next 16 update
* Fix paths and env vars
* docs: refactor nextjs server-side auth to use Proxy instead of middleware
* docs: refactor nextjs server-side auth to match proxy
* docs: refactor nextjs example to match Proxy
* docs: refactor nextjs auth AI prompt to match Proxy
* docs: refactor nextjs sentry telemetry integration to match Proxy
* examples: update nextjs realtime example to match middleware
* docs: refactoring guides to use nextjs proxy
* examples: update nextjs-full example to match Next16 template
* example: update nextjs-user-management to match nextjs 16
* docs: refactoring nextjs user-management tutorial to use typescript only
* docs: refactoring nextjs quickstart, removing step 4
since this step is already included on `with-supabase` template, we can
just remove this redundant step
* docs: auth-helpers nextjs pages, Nextjs16 proxy disclaimer
* stamp: lint
* stamp: revert 'NEXT_PUBLIC_SUPABASE_PUBLISHABLE_KEY'
* stamp: nextjs examples, revert to use cookie options
* fix(docs): typo
* docs: updating nextjs-auth troubleshoot guide to match proxy
* Update apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx
* Revert auth-helpers changes
* Revert auth-helpers content
* Apply suggestions from code review
* Update apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx
* Update apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx
* Update apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx
* Update apps/docs/content/troubleshooting/how-do-you-troubleshoot-nextjs---supabase-auth-issues-riMCZV.mdx
* Apply suggestions from code review
* Prettier
---------
Co-authored-by: kallebysantos <kalleby_santos@hotmail.com >
2025-12-01 16:53:12 +01:00
534c300a7a
docs: SSR overhaul combined client page PoC ( #38405 )
...
* Draft begins
* Starte SvelteKit
* Changes
* Consolidate creating a client
* Final draft
* Update apps/docs/content/guides/auth/server-side/creating-a-client.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update apps/docs/content/guides/auth/server-side/creating-a-client.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Rework and simplify
* Update apps/docs/content/guides/auth/server-side/creating-a-client.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update apps/docs/content/guides/auth/server-side/creating-a-client.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update apps/docs/content/guides/auth/server-side/creating-a-client.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* improve spacing
* last
* Simplify example
* Prettier
* Fix hono, remove old pages, and add redirects
* Remove from menu
* Update apps/docs/content/guides/auth/server-side/creating-a-client.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Changes
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
Co-authored-by: Alan Daniel <stylesshjs@gmail.com >
2025-11-11 12:37:11 +00:00
Deepak Sharma
7d722bfc03
docs: remove unused variables from Next.js auth example to fix ESLint build erros. ( #30397 )
...
docs: remove unused variables from Next.js auth exampl
2025-11-05 17:30:58 +00:00
Chris Chinchilla
0831baee6a
docs: Update out of date mentions of getUser ( #40045 )
2025-11-03 12:46:32 +01:00
Chris Chinchilla and Charis
671c109fa0
docs: update key dropdowns to use new key values ( #39428 )
...
* Draft
* Draft
* Draft
* fix: wrong query key
* Final tweaks
* Add to other pages
* Update apps/docs/content/guides/getting-started/quickstarts/ios-swiftui.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/kotlin.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/nextjs.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/nuxtjs.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/reactjs.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/solidjs.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/sveltekit.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/vue.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/content/guides/getting-started/quickstarts/refine.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Update apps/docs/components/ProjectConfigVariables/ProjectConfigVariables.tsx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Prettier
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2025-10-16 15:48:57 +02:00
2a0911379e
docs: Remove or deprioritise as many auth helpers mentions as possible ( #38919 )
...
* Draft
* Overhaul and remove as many mentions of auth-helpers as possible
* Update apps/docs/content/guides/getting-started/tutorials/with-nextjs.mdx
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
* Update apps/docs/content/guides/auth/auth-helpers.mdx
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
* Prettier
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-09-22 13:25:51 +00:00
Charis and Chris Chinchilla
47705a8968
chore: replace all supabase urls with relative urls ( #38537 )
...
* fix: rewrite relative URLs when syncing to GitHub discussion
Relative URLs back to supabse.com won't work in GitHub discussions, so
rewrite them back to absolute URLs starting with https://supabase.com
* fix: replace all supabase urls with relative urls
* chore: add linting for relative urls
* chore: bump linter version
* Prettier
---------
Co-authored-by: Chris Chinchilla <chris.ward@supabase.io >
2025-09-09 12:54:33 +00:00
Chris Chinchilla
58100a0121
docs: Change key name for dynamic loading docs ( #38011 )
...
Change key name for dynamic loading docs
2025-09-09 09:28:49 +02: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
wheredoesyourmindgo
465600fc92
Update nextjs.mdx ( #37420 )
...
Public error route
2025-08-12 16:02:20 +00:00
Chris Chinchilla
bab22d9e7e
docs: Add react Router to SSr auth guide ( #37514 )
...
* Clarify where to add utils folder
* Add React Router
* Revert "Clarify where to add utils folder"
This reverts commit 89f72c6bea .
2025-08-05 11:13:57 +02:00
Chris Chinchilla
ac0cbe0686
docs: Clarify where to add utils folder ( #37434 )
...
Clarify where to add utils folder
2025-07-28 11:52:13 -03:00
Stojan Dimitrovski
a19769440e
feat: update docs, ui-library to use supabase.auth.getClaims() ( #36933 )
2025-07-08 19:11:57 +02:00
skelbon
1e983eb6cf
docs(auth) - typo correction ( #36701 )
...
Fix wording inconsistency between countries and colors example
2025-06-26 16:26:56 +00:00
Nikolaj and Charis
33eb11c052
Added <$CodeTabs> to Pages Router tab ( #35612 )
...
* Added <$CodeTabs> to Pages Router tab
There was an inconsistency between the App Router and Pages Router page, which was only a small detail.
* Update apps/docs/content/guides/auth/server-side/nextjs.mdx
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-05-12 00:29:23 +00:00
gitNetw0rk and Charis
ab9b0c9ac5
Update nextjs.mdx ( #34587 )
...
* Update nextjs.mdx
just a little comment.. that save LOTS OF DEBUGGING time.
* fix: tweak wording
---------
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com >
2025-03-31 15:11:56 +00:00
Charis
311232b3e1
feat(docs): ts hover annotations on code blocks ( #34327 )
2025-03-21 15:48:32 -04:00
Charis
a820c56ed0
chore: docs linting ( #33574 )
2025-02-21 14:13:00 -05:00
Charis
e7ed2de400
fix: show how to include generated types in SvelteKit context ( #33565 )
2025-02-12 14:44:07 -05:00
Charis
2d55512553
chore: activate spelling and admonitions lints for docs ( #33292 )
2025-02-04 13:18:31 -05:00
Andrew Smith
8df40c3dcd
docs: replace deprecated magiclink and signup with email type ( #33213 )
...
* docs: replace deprecated magiclink and signup with email type
* chore(format): fix formatting for docs
2025-01-31 19:40:27 +00:00
Charis
93885b090f
chore: examples ( #33183 )
2025-01-30 13:08:46 -05:00
Thor 雷神 Schaeff
8e67d1e0a7
feat: add Hono example and guide. ( #32614 )
2025-01-07 20:22:48 +08:00
Hyungji
2d12fb646f
fix: (Setting up Server-Side Auth for Next.js) update examples ( #31139 )
...
chore: update examples
2024-12-16 21:40:11 +00:00
Ittipat
8672209dff
docs: change supabase client and server from tsx to ts ( #31088 )
2024-12-12 21:37:43 +00:00
Joel Lee
6af2bcf346
fix: update next.js auth middleware example ( #31035 )
...
fix: update next.js example
2024-12-10 14:33:08 +08:00
lanye
0ecd2446ff
docs: migrate sveltekit server-side auth to svelte 5 ( #30445 )
...
* basic migration pass
* update leftover slot
* format: style
2024-12-04 18:12:53 +00:00
Charis
572111224b
ci(docs): bump linter + expand linting to auth section ( #30704 )
2024-11-28 10:26:00 -05:00
Terry Sutton and Charis Lam
bb0306061d
Chore/update to next 15 ( #30075 )
...
* Update Next.js docs for v15
* More awaiting
* remove async for pages router
* fix for dashboard connection guide
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2024-10-24 12:56:20 -02:30
Kyle Malloy
6e4eaab51a
astro middleware ( #29729 )
...
* astro middleware
* prettier
2024-10-16 15:48:28 +00:00
Kyle Malloy
a2be5836ad
Missing import in Astro example ( #29460 )
2024-09-30 07:14:22 +00:00
Dmytro Dobrovolskyi
9b91ed175e
Fix typo in docs ( #29097 )
...
Fix typo in middleware.ts filenaming
2024-09-05 14:12:36 +00:00
Charis
33be4b8061
fix(docs): email template instructions for pkce ( #29089 )
2024-09-04 14:21:21 -04:00
Sonu Kumar
5017342b5b
docs: using safeGetSession instead session. ( #29007 )
...
fix(docs): using safeGetSession instead session.
2024-09-03 16:59:14 +00:00
Peter
cb56a69a00
fix: Replace deprecated serialize call in NextJS pages router docs ( #28561 )
...
* Replace deprecated Serialize call
* run prettier
2024-08-13 00:09:57 +00:00
Evan Suhyeong Lee
db713f43b1
fix(docs): delete unused type from example code ( #28268 )
2024-07-31 01:28:04 +00:00
Charis
3df871be4b
fix: update code examples for ssr on social login guides ( #27906 )
2024-07-11 11:54:04 -04:00
Jonathan Hutchison
5830366213
Update supabase/ssr Pages router snippets ( #27904 )
2024-07-10 17:14:58 +00:00
Andrew Smith
b79a138055
fix(docs): update ssr guides and examples for nextjs and svelte ( #27834 )
...
[Summary by Charis]
Update SSR guides and examples for Next.js and Svelte:
- New `@supabase/ssr@0.4.0` API
- Misc. Svelte fixes
2024-07-08 15:06:59 -04:00
Charis
f4779d4844
refactor: migrate guides to app router ( #23101 )
...
Migrate guides to App Router.
2024-07-03 10:25:06 -04:00
Charis
484393f666
fix: catch errors on setall in rscs ( #27762 )
2024-07-03 08:56:56 +02:00
Andrew Smith
8124dcae54
update sveltekit guides with the latest ssr setup ( #27641 )
...
* update sveltekit guides with the latest ssr setup
* update style formatting
2024-07-01 19:39:43 -04:00
Erik Petersen
862f6075fb
docs: fix Next.js create client docs to match fix in ssr auth docs ( #27659 )
...
* docs: fix nextjs create client docs to match fix in ssr auth docs
* Fix bug by also making the auth route public
2024-07-01 21:35:49 +00:00
Richárd Hruby and Charis Lam
9697715825
update code snippet in nextjs server-side auth guide step 7 ( #26281 )
...
* update code snippet in nextjs server-side auth guide step 7
* format
---------
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com >
2024-07-01 19:23:11 +00:00
Erik Petersen
9a18d013c2
Fix nextjs example in ssr docs ( #27622 )
...
* docs: fix NextJS middleware code in SSR docs
* Fix redirect loop that example would create
* Fix formatting
2024-06-28 18:39:15 -04:00
Stojan Dimitrovski
3a0a092295
docs: fix getServerSideProps ssr guide ( #27502 )
2024-06-24 13:47:29 -04:00
Stojan Dimitrovski
ca48672711
docs: rewrite ssr examples to use getAll, setAll ( #27242 )
2024-06-24 18:58:17 +02:00
Charis
4c9c96a159
fix(sveltekit ssr docs): createBrowserClient use ( #26872 )
...
In the abbreviated SvelteKit SSR instructions, `createBrowserClient` is
used in hybrid code that runs on both the server and client, with
changes in the configuration depending on where it's run. That's just
confusing, because the name implies it should not run on the server.
Change it to match the full SvelteKit SSR tutorial, which selectively
runs `createBrowserClient` or `createServerClient` depending on the
current environment.
2024-05-31 11:43:29 -04:00