rp
10/26/2022, 4:40 AMrp
10/26/2022, 4:41 AMBeeMoe
10/26/2022, 7:21 AMn1ru4l
10/26/2022, 7:50 AMError: This function should only be called through the recipe object
err: Error: This function should only be called through the recipe object
at Object._call (/Users/laurinquast/Projects/graphql-hive-2/node_modules/supertokens-js-override/lib/build/getProxyObject.js:17:19)
at Object.ret.<computed> [as authorisationUrlGET] (/Users/laurinquast/Projects/graphql-hive-2/node_modules/supertokens-js-override/lib/build/getProxyObject.js:27:29)
at Object.authorisationUrlGET (webpack-internal:///(api)/./src/lib/supertokens/third-party-email-password-node-oidc-provider.ts:103:45)
While trying to compose multiple overrides using a helper function (so code can be isolated).execreate
10/26/2022, 9:55 AMCMD [ "gunicorn", "main:app", "--workers", "8", "--worker-class", "uvicorn.workers.UvicornWorker", "--bind", "0.0.0.0:8080" ]
and I am getting this error from supertokens:
RuntimeWarning: Inconsistent mode detected, check if you are using the right asgi / wsgi mode
Supertokens docs say use wsgi mode if you are running using gunicorn
. Should I still use wsgi mode even if I have Uvicorn workers?rp
10/26/2022, 10:48 AMwebloem
10/26/2022, 1:35 PMrp
10/26/2022, 1:48 PMBeeMoe
10/26/2022, 2:36 PMrp
10/26/2022, 2:36 PMBeeMoe
10/26/2022, 2:36 PMGarrett
10/26/2022, 8:09 PMhinogi
10/26/2022, 8:54 PMctrick
10/26/2022, 10:14 PMrp
10/27/2022, 5:03 AMrp
10/27/2022, 5:04 AMIruizmar
10/27/2022, 7:04 AMrp
10/27/2022, 7:21 AMulys
10/27/2022, 11:49 AMa.domain.com
and b.domain.com
that will both use the access cookies.
In order for this to work we've set the session recipe init like :
Session.init({
...
cookieDomain: '.domain.com',
...
But this now prevents cookies to be set when working locally. Is there any way for cookies to be set under either .domain.com
or localhost
for example?ggishant
10/27/2022, 1:01 PMredirect
on the url to redirect the user to a specific page after login. does supertoken support this functionality or how can I implement this using overrides? which function will i have to override?phacies
10/27/2022, 2:05 PMnabb23
10/27/2022, 4:00 PMshri
10/28/2022, 11:29 AMDavidK
10/28/2022, 11:34 AMnkshah2
10/28/2022, 11:45 AMnkshah2
10/28/2022, 11:46 AMLuxaaa
10/28/2022, 6:22 PMsupertokens_python.exceptions.GeneralError: No SuperTokens core available to query
. Is this caused by network issues? (i am using the managed service)veritas
10/28/2022, 6:33 PMrp
10/28/2022, 6:36 PMshorthair_[]
10/29/2022, 5:30 PM