https://supertokens.com/ logo
#general
Title
# general
i

Invader

03/28/2022, 7:15 PM
I'm currently using Hasura and Magic Link to basically authenticate users and save their issuer and information with sessions in the server as a cookie session JWT. How easy would it be to migrate to supertokens?
r

rp

03/28/2022, 7:28 PM
We have migration docs for magic links + guides to integrate with hasura + using cookies based sessions + creating a JWT. Seems like exactly what you need
i

Invader

03/28/2022, 7:34 PM
Great
my goal is to be able to rewrite as little of my backend session management code as possible
I'll check out the migration later tonight
r

rp

03/28/2022, 7:36 PM
Oh I see. If you want to use our session management, you will have to remove your backend seesion managent code and use ours instead.
But you can also use us without session management (and just for magic links) and continue to use your sessions management
i

Invader

03/30/2022, 12:59 AM
So I can't use my own backend session manager?
My backend is written in fastify using
fastify-session
,
jsonwebtoken
, and remix frameworks' built in session manager
r

rp

03/30/2022, 4:17 AM
You can use your own session.