How to manually create a session cookie
Hello, I have a very specific need where I need to create a user session and a single-use authentication link manually. The magicLink or usual api.signIn functions aren't suitable for me, I'd like to just implement it myself.
How can I sign the session token manually to give the correct cookie to the user ?
How can I sign the session token manually to give the correct cookie to the user ?