Hi guys,
I would like top integrate SuperTokens into my Architecture.
Could you please advice me whether I'm doing everything correct.
I have this Architecture:
-NeStJS Backend API
-NeXtJS frontend
I implement SuperTokens like this:
1. Added it for my NestJS backend following this tutorial(Nest integratir):
https://supertokens.com/docs/thirdpartyemailpassword/introduction
-2. Added it for my NeXt (App Router) frontend following this tutorial(NeXt integration):
https://supertokens.com/docs/thirdpartyemailpassword/nextjs/app-directory/init
3. in my NeXt "appInfo" config object I changed recommended api host (localhost:3000) to localhost:8080 where my NeSt Backend resides(with supertokens) to allow NeSt(not NeXt) ensure backend authorization with it's sign* endpoints.
Is everything I do correct?