solminded
05/02/2022, 1:33 AMCould not refresh session
error.rp
05/02/2022, 4:50 AMsolminded
05/02/2022, 10:01 PMDEBUG=com.supertokens vercel dev
but not sure how to achieve that with vercel deploys. I have tried adding "vercel-build": "DEBUG=com.supertokens node ./api/index.js"
to package json but even though I can see the logs the build never gets completed.vercel dev
everything works perfect though. I can get the JWT with (await SuperTokens.getAccessTokenPayloadSecurely()).jwt
without any issues.rp
05/03/2022, 4:14 AMsolminded
05/03/2022, 10:10 AMSuperTokens.init({
apiDomain: https://akasa-audiobook-auth-server-offminded.vercel.app,
apiBasePath: '/api/auth'
});
appInfo: {
appName: my-project-audiobook,
apiDomain: https://akasa-audiobook-auth-server-offminded.vercel.app,
websiteDomain: https://akasa-audiobook-auth-server-offminded.vercel.app,
apiBasePath: '/api/auth',
websiteBasePath: '/auth',
},
rp
05/03/2022, 10:29 AMsolminded
05/03/2022, 10:30 AMrp
05/03/2022, 10:32 AMsolminded
05/03/2022, 10:34 AMrp
05/03/2022, 5:07 PM