shubham vora
04/21/2022, 4:45 AMexecreate
04/21/2022, 6:19 AM/usr/local/lib/python3.9/site-packages/supertokens_python/supertokens.py:230: RuntimeWarning: coroutine 'Supertokens.send_telemetry' was never awaited
Supertokens.__instance = Supertokens(
RuntimeWarning: Enable tracemalloc to get the object allocation traceback
Is it a bug? This probably refers to this line in the code: https://github.com/supertokens/supertokens-python/blob/1a1488bb229b2140a9a115d4ba998f1cf76bd649/supertokens_python/supertokens.py#L197rp
04/21/2022, 6:24 AMrp
04/21/2022, 6:25 AMexecreate
04/21/2022, 6:28 AMrp
04/21/2022, 6:29 AMexecreate
04/21/2022, 6:30 AMinit(
app_info=InputAppInfo(
app_name="myawesomeapp",
api_domain=site_url,
api_base_path="/api/auth",
website_domain=website_domain,
website_base_path=website_base_path,
),
supertokens_config=SupertokensConfig(
connection_uri=connection_uri,
api_key=api_key,
),
framework='django',
recipe_list=[
session.init(
override=session.InputOverrideConfig(functions=override_functions),
),
passwordless.init(
flow_type="USER_INPUT_CODE",
contact_config=ContactPhoneOnlyConfig(
create_and_send_custom_text_message=send_text_message
)
)
],
mode='wsgi'
)
execreate
04/21/2022, 6:30 AMexecreate
04/21/2022, 6:31 AMAshish
04/21/2022, 6:32 AMrp
04/21/2022, 6:33 AMexecreate
04/22/2022, 6:06 AMoverride_functions.create_new_session()
. I'll start a thread and explain the detailsteajay
04/22/2022, 7:25 AMexecreate
04/22/2022, 8:31 AMregenerate_access_token
method of session recipe?FrAgOrDiE
04/22/2022, 11:01 AMalan the guy
04/23/2022, 2:36 PMreq
and res
to any
, is there any way so that I can still use Next.js API types?
The tutorial: https://supertokens.com/docs/emailpassword/nextjs/session-verification/in-api[Manicraft1001]
04/24/2022, 11:54 AMrp
04/24/2022, 11:54 AM[Manicraft1001]
04/24/2022, 11:55 AMnadilas
04/24/2022, 4:16 PM404
, but I'm unclear on the swagger definition. 404 means the user has no metadata yet and is a valid response, right?rp
04/24/2022, 5:36 PMnadilas
04/24/2022, 5:39 PMrp
04/24/2022, 5:41 PMnadilas
04/24/2022, 5:41 PM[Manicraft1001]
04/24/2022, 5:41 PMtypescript
const apolloServer = new ApolloServer({
schema,
debug: false,
context: ({ req, res }) => {
return {
session: req.session,
};
},
});
rp
04/24/2022, 5:41 PMrp
04/24/2022, 5:54 PMgitcommitshow
04/25/2022, 6:17 AMRoosh
04/25/2022, 1:09 PMexecreate
04/26/2022, 5:56 AM