Commit Graph
10 Commits
Author SHA1 Message Date
DavidandCharis Lam f95b35bf2a Added info about signInWithOauth redirect (#22088)
Co-authored-by: Charis Lam <26616127+charislam@users.noreply.github.com>
2024-03-19 08:27:25 +00: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
200740b016 docs: fix incorrect .js extension with .ts extension (#19925)
* docs: fix incorrect .js extension with .ts extension

Within the SvelteKit example, the guide incorrectly references creating a .js file as opposed to a .ts as is required, given the contents of said file has Typescript within it

* Update apps/docs/pages/guides/auth/server-side/email-based-auth-with-pkce-flow-for-ssr.mdx

* run formatter

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
Co-authored-by: dshukertjr <dshukertjr@gmail.com>
2024-02-20 23:44:35 +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