https://supertokens.com/ logo
a

Ashish

04/20/2022, 9:02 AM
Hey everyone, I am getting an error in while using supertokens in FastAPI. What am I doing wrong here?
Initialisation not done. Did you forget to call the SuperTokens.init function?
n

nkshah2

04/20/2022, 9:03 AM
Hi, Did you call
SuperTokens.init
before trying to use it?
a

Ashish

04/20/2022, 9:06 AM
supertokens python has no module called
SuperTokens
This is what I have imported, followed the documentation
from supertokens_python import init, InputAppInfo, SupertokensConfig
from supertokens_python.recipe import thirdparty, session
r

rp

04/20/2022, 9:06 AM
Please follow the quick setup guide and make sure you call the init function
a

Ashish

04/20/2022, 9:07 AM
Like just init() ?
r

rp

04/20/2022, 9:25 AM
Yea. Please see the quick setup, backend section.
2 Views