Hey Brian. I was hoping the major version bumps di...
# share-your-work
i
Hey Brian. I was hoping the major version bumps didn't cause too much damage, but it seems like they did. 😔 1) As far as SvelteKit is concerned, I'm not aware of another reference for newer versions of
supertokens-node
. The SuperTokens documentation would probably be the best thing to consult. Do you know what specifically broke in the newer version? @rp_st might also have context, but I can't remember if he looked at the SvelteKit repo at all. 2) Similarly, I don't have anything for the passwordless login. But as long as you're not using MFA, I assume that it would be similar to email-password, but easier. The core of the work would be the helpers in
/src/lib/server/utils/supertokens
. As long as the
helpers
return the right tokens (and the
repiceList
in
hooks.server.ts
is properly configured), everything should just work. Maybe something I can do (when I have time) is add alternative versions of the
helpers
I define in
/src/lib/server/utils/supertokens
. One for email password, one for passwordless, etc. And then define alternative configurations for the
recipeList
in
/src/hooks.server.ts
. That way people would have examples for various scenarios without needing to change repos or branches. That being said, my hands are kinda tied. 😅 PRs are welcome if you or someone else is able/willing to explore.
2 Views