https://supertokens.com/ logo
Integrate into docs for fastapi
r

Raf

05/19/2023, 6:20 PM
Does anybody know how to get the fastapi docs working for protected routes? i.e
async def get_items(session: SessionContainer = Depends(verify_session())):
  pass
Does not integrate with the /docs for the api and I can't figure out if it's possible or how to integrate the authentication portion of supertokens into the docs
r

rp

05/19/2023, 6:24 PM
Hey. I don’t think it’s possible to integrate with docs at the moment.
r

Raf

05/19/2023, 6:24 PM
Yeah, I figured that that might be the case
Btw, do you know when the cloud dev environments will be upgraded to 5.0 core?
r

rp

05/19/2023, 6:26 PM
Tomorrow
If you have already emailed us. Then tomorrow
r

Raf

05/19/2023, 6:27 PM
I have not emailed you
r

rp

05/19/2023, 6:27 PM
Then you should. Email us on rishabh@supertokens.com
r

Raf

05/19/2023, 6:27 PM
Will do. Thanks.
r

rp

05/19/2023, 6:27 PM
Please also specify if the upgrade should happen for dev and prod or just dev env