https://supertokens.com/ logo
h3 support
p

productdevbook

05/15/2023, 2:44 PM
when h3 support ? with nitro https://nitro.unjs.io/
r

rp

05/15/2023, 4:01 PM
hey @productdevbook there is an open PR about this somewhere on our node sdk. Feel free to contribute to it 🙂
p

productdevbook

05/16/2023, 5:43 PM

https://cdn.discordapp.com/attachments/1107679911608590426/1108087233728237568/image.pngâ–¾

iam now write code

https://cdn.discordapp.com/attachments/1107679911608590426/1108087449260916767/image.pngâ–¾

r

rp

05/16/2023, 5:44 PM
Thank you!
p

productdevbook

05/16/2023, 5:44 PM
why am i doing wrong, dashboard won't open
r

rp

05/16/2023, 5:44 PM
Can you enable backend debug log and show the output of it when querying the dashboard?
p

productdevbook

05/16/2023, 5:45 PM
how to enable backend debug ?
r

rp

05/16/2023, 5:45 PM
Add DEBUG=com.supertokens to the env vars
p

productdevbook

05/16/2023, 5:46 PM
ts

2023-05-16T17:46:09.362Z com.supertokens {t: "2023-05-16T17:46:09.362Z", message: "middleware: Started", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}

2023-05-16T17:46:09.363Z com.supertokens {t: "2023-05-16T17:46:09.363Z", message: "middleware: requestRID is: undefined", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
2023-05-16T17:46:09.363Z com.supertokens {t: "2023-05-16T17:46:09.363Z", message: "middleware: Checking recipe ID for match: dashboard", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
2023-05-16T17:46:09.363Z com.supertokens {t: "2023-05-16T17:46:09.363Z", message: "middleware: Request being handled by recipe. ID is: /dashboard", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
2023-05-16T17:46:09.551Z com.supertokens {t: "2023-05-16T17:46:09.550Z", message: "middleware: Ended", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
r

rp

05/16/2023, 5:47 PM
So our middleware is detecting the path
But then somehow the framework is still sending a 404
So this is now something that needs to be figured out and is framework specific
So can’t really help with this since I’m not familiar with this web framework
p

productdevbook

05/16/2023, 5:48 PM
Can you explain a little more where I should focus?
r

rp

05/16/2023, 5:49 PM
Maybe see how the framework expects routes to be declared.
p

productdevbook

05/16/2023, 5:55 PM
lib/ts/framework/express
dont see router add ? how to add
r

rp

05/16/2023, 5:55 PM
This is framework specific
p

productdevbook

05/16/2023, 7:00 PM
how ?
so where do you decide the url

https://cdn.discordapp.com/attachments/1107679911608590426/1108235029030633473/image.pngâ–¾

https://cdn.discordapp.com/attachments/1107679911608590426/1108235062467625072/image.pngâ–¾

h3 return working value
but how should we write it in supertoken
r

rp

05/17/2023, 4:26 AM
I’m not sure at the moment. Will have to dive deeper on this, but honestly, we don’t have bandwidth for it now.