Commit Graph
32 Commits
Author SHA1 Message Date
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
wheredoesyourmindgo 465600fc92 Update nextjs.mdx (#37420)
Public error route
2025-08-12 16:02:20 +00: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
NikolajandCharis 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
gitNetw0rkandCharis 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
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
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
Joel Lee 6af2bcf346 fix: update next.js auth middleware example (#31035)
fix: update next.js example
2024-12-10 14:33:08 +08:00
Terry SuttonandCharis 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
Charis 33be4b8061 fix(docs): email template instructions for pkce (#29089) 2024-09-04 14:21:21 -04: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
Jonathan Hutchison 5830366213 Update supabase/ssr Pages router snippets (#27904) 2024-07-10 17:14:58 +00: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
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 HrubyandCharis 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
abhishekmgandCharis b2fd97c36f doc update : Updated the redirect path if user is not found (#22531)
Updated the redirect path if user is not found

Because the redirect path was `/` when I logged out and then went to something like `localhost:3000/` , this cause an infinite redirect loop and caused the app to break.

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-04-09 14:09:39 +00:00
Kang Ming 0267abdb2a docs: fix typos in page router guide (#22398) 2024-04-03 00:34:17 +08:00
Onur Usluca 305106e911 Remove duplicate import: nextjs.mdx (#21786) 2024-03-05 17:50:29 +00:00
Ryan HallidayandCharis c7650b100e Update next.js setup docs email template (#21466)
* Update next.js setup docs email template

The email templates need to have the type parameter. 

The wording here is a bit clumsy but it's hard to convey succinctly. A variable for the email type would be kinda cool. 

I was getting 401 `AuthApiError: Email link is invalid or has expired` until I changed this for my `magiclink`

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:33:22 +00:00
LeoandCharis 4d829bfb93 Add missing import to nextjs.mdx (#21527)
* Add missing import to nextjs.mdx

* Update apps/docs/content/guides/auth/server-side/nextjs.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:27:20 +00:00
Menushka WeeratungaandCharis 4f7874edfe docs: Add missing import (#21767)
Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
2024-03-05 06:04:26 +00:00
Charis 9c322b7f58 kaizen improvements to nextjs server auth guide (#21305) 2024-02-21 22:40:51 +00:00
Kang Ming dac1c3e6da docs: add information about default cookie name used (#21298) 2024-02-16 01:47:29 +08:00
Jon Meyers 62720c4e35 Chore: Improve Next.js Auth guide (#21104)
* revert name of token route to auth/confirm/

* add images to middleware matcher
2024-02-08 14:55:30 +11:00
Charis e20038e2f2 refactor: move auth guides into content directory (#20777)
Begin the process of moving our MDX files into their own content directory.

Fixed a few minor bugs re: ToC and tabs not rerendering consistently on page navigation. (The ToC thing wasn't a problem before the refactor, the tabs thing is a problem on prod.)

Moved MDX files can't import their own components, so everything they require needs to be back in the component prop for mdx-remote's serializer. Cleaned this up a bit and lazy-loaded heavy/rare stuff. Also, the component prop doesn't take arbitrary objects (only actual components), so imported data has to be wrapped in a component.
2024-02-07 17:25:08 +00:00