Commit Graph

27 Commits

Author SHA1 Message Date
Steven Nguyen
0714b9cbff fix(tutorial): update redirect in SvelteKit SSR auth tutorial
The current redirect status code is 301, but that is a permanent
redirect. The problem with this is the browser will cache the redirect
and redirect for every request without even making a request to the
server.

Instead, we should use a 302 status code, which is a temporary redirect.
So, when the user hits the home page, the browser will hit the server
so that the server checks whether the user is logged in or not and
redirect accordingly instead of always redirecting to the same page.
2024-08-16 21:38:30 +00:00
Vincent (Wen Yu) Ge
7055efcd1b Fix redirects 2024-03-11 16:05:46 +00:00
Vincent (Wen Yu) Ge
0ac9ca7fe6 Fix SSR for sveltekit 2024-03-10 11:52:34 +00:00
loks0n
b3304ce5a1 chore: remove tabs 2024-03-10 11:31:07 +01:00
loks0n
5f276924da chore: revert csr changes 2024-03-09 23:12:10 +01:00
loks0n
c99d18d71e fix: svelte 2024-03-09 22:11:06 +01:00
loks0n
4ecd151419 chore: more fixes, .env 2024-03-09 21:19:50 +01:00
loks0n
af06dd340d fix: more 2024-03-09 19:13:25 +01:00
loks0n
847a4cb0c1 fix: more ssr inconsistencies 2024-03-09 19:13:02 +01:00
loks0n
fa4cd09cd4 fix: ssr tutorials 2024-03-09 18:38:36 +01:00
Torsten Dittmann
bfe99fe92c feat: svelte kit 2 2024-02-28 23:16:13 +01:00
loks0n
5e8bc2b952 docs: ssr types 2024-02-26 15:43:31 +01:00
loks0n
a7e27cc774 feat: use OAuth2 provider enums 2024-02-24 20:44:29 +00:00
loks0n
fd6d9c8760 feat: ssr update svelte dx 2024-02-22 17:05:03 +00:00
loks0n
a70e8b5252 feat: update ssr dx nextjs 2024-02-22 16:45:59 +00:00
Vincent (Wen Yu) Ge
56c079167a Fix more links 2024-02-13 12:55:04 -05:00
Vincent (Wen Yu) Ge
e181f03d0d fixed API key details for SSR, added screenshots for create message in provider docs 2024-02-12 20:49:59 -05:00
Vincent (Wen Yu) Ge
e332bcc0cc Reviewed all SSR tutorials 2024-02-12 14:59:21 -05:00
Vincent (Wen Yu) Ge
0e66c8bb66 Reviewed Next.js SSR tutorial 2024-02-12 14:41:22 -05:00
Vincent (Wen Yu) Ge
ed94383b13 Fix icons 2024-02-12 11:39:53 -05:00
loks0n
cc3b4fbfeb fix: remove non existant sessions.read 2024-02-12 14:40:57 +00:00
loks0n
3e81e7ee36 chore: autotype load 2024-02-10 21:52:35 +00:00
loks0n
07b6695431 chore: fix redirects 2024-02-09 17:33:50 +00:00
loks0n
efd44deeb6 chore: svelte csr changes 2024-02-09 10:58:41 +00:00
loks0n
4bfcdc1b7d chore: vincent review 2024-02-08 12:46:24 +00:00
loks0n
191773120c chore: vincent review 2024-02-08 11:02:39 +00:00
loks0n
0e034e9def feat: svelte ssr auth 2024-02-06 10:52:07 +00:00