Hello. I would like to know if supertokens current...
# support-questions-legacy
e
Hello. I would like to know if supertokens currently supports Clouldflare Workers ?
r
We don't support those yet. But adding support for them would be fairly easy. You just need to implement a function functions like
getJSONBody
,
setJSONBody
,
setCookies
etc.. to work with the request / response objects provided by cloudflare workers. If you are interested in implementing this, I can guide you more.
e
I might be interested in implementing this in a near future
we currently migrating a next.js app to remix.run
r
ahh i see.
e
we use supertokens for auth
as we have more urgent stuff, we will deploy remix to vercel so we can continue to use supertokens as it is
r
Alright! Do you need help with remix integration?
e
but we might want to deploy remix to cloudflare workers/pages so we will need support at this time
r
sure. Would be happy to help when needed.
e
that would be great
As I first see it, it would be to use remix with their express server and follow supertokens docs for express ?
but maybe you have another suggestion
r
> it would be to use remix with their express server and follow supertokens docs for express ? I guess. Yea.
that should work
e
OK. I'll try that and let you know if I encounter any issue
thank you for your time
r
makes sense! 👍
e
and thank you for supertokens, I've used it in several projects and it's a pleasure to work with it
10 Views