rayhan_rahat
02/12/2023, 4:48 PMmiddleware.ts file.??
I want to verify the session and redirect users based on that.
Note: I am only using Frontend Part of Next.js Guide, For Backend we have a Nest.js Backendrp_st
02/12/2023, 4:49 PMrp_st
02/12/2023, 4:49 PMreq and res object for verifying the sessionrp_st
02/12/2023, 4:50 PMrayhan_rahat
02/12/2023, 4:53 PMsupertokensNode.init(backendConfig()); Imported from supertokens-node
I get this error:
Error: The edge runtime does not support Node.js 'crypto' module.rp_st
02/12/2023, 4:54 PMrp_st
02/12/2023, 4:54 PMrayhan_rahat
02/12/2023, 4:55 PMrp_st
02/12/2023, 4:55 PMrayhan_rahat
02/12/2023, 4:55 PM