solminded
05/02/2022, 1:33 AMCould not refresh session
error.solminded
05/02/2022, 1:38 AMrp_st
05/02/2022, 4:50 AMrp_st
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.solminded
05/02/2022, 10:05 PMvercel dev
everything works perfect though. I can get the JWT with (await SuperTokens.getAccessTokenPayloadSecurely()).jwt
without any issues.rp_st
05/03/2022, 4:14 AMrp_st
05/03/2022, 4:15 AMsolminded
05/03/2022, 10:10 AMsolminded
05/03/2022, 10:11 AMsolminded
05/03/2022, 10:15 AMSuperTokens.init({
apiDomain: https://akasa-audiobook-auth-server-offminded.vercel.app,
apiBasePath: '/api/auth'
});
solminded
05/03/2022, 10:16 AMappInfo: {
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_st
05/03/2022, 10:29 AMrp_st
05/03/2022, 10:29 AMsolminded
05/03/2022, 10:30 AMsolminded
05/03/2022, 10:31 AMrp_st
05/03/2022, 10:32 AMrp_st
05/03/2022, 10:33 AMrp_st
05/03/2022, 10:33 AMsolminded
05/03/2022, 10:34 AMsolminded
05/03/2022, 4:50 PMsolminded
05/03/2022, 4:51 PMsolminded
05/03/2022, 4:52 PMrp_st
05/03/2022, 5:07 PM