Auth Issues with Sveltekit #17040
akiarostami
announced in
Archive
Replies: 1 comment
-
Not sure if you are still seeking a solution for this, but here is what I came up with:
This happens on the +page.server.ts action hook Then when making subsequent requests that need the authentication, you can set that token in the client via I hope this helps 🤞 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I'm having a lot of issues with Sveltekit integration / authentication. auth.login doesn't set cookies (even though I speicifcally set
mode: 'cookie'
.Your Sveltekit example is very old. Now that Sveltekit 1.0 is out, is there a chance to have a sample app with proper authentication code?
Beta Was this translation helpful? Give feedback.
All reactions