https://supertokens.com/ logo
#general
Title
# general
k

kelbs

03/21/2022, 4:25 AM
Thanks! Looking forward to trying this tomorrow (too tired tonight). I figured this was the case and have been running into CORS issue with the FastAPI middleware when trying to login but I think it might be because of a trailing slash in the allowed origins settings.
r

rp

03/21/2022, 4:28 AM
I see. If you tell us the exact error you are seeing by the browser, we can help out 🙂
k

kelbs

03/22/2022, 3:49 AM
hmm now that I come back the next day I'm not sure I have a CORS issue anymore
going to keep working on it. Have you tried accessing the fastapi docs after adding supertokens to a fastapi app?
(fastapi has built-in docs)
r

rp

03/22/2022, 3:51 AM
Haven’t don’t that. Is that not working?
k

kelbs

03/22/2022, 3:51 AM
Not at the moment
I'm not sure if its supertokens or something I've done. But that would definitely be a feature some folks would want if its the supertokens integration that breaks it
From the docs page you can test api routes so its pretty handy
r

rp

03/22/2022, 3:53 AM
How do you access the docs page?
k

kelbs

03/22/2022, 3:53 AM
r

rp

03/22/2022, 3:53 AM
I see. So that route shoouldnt be affected by supertokens. But I’ll check
k

kelbs

03/22/2022, 3:53 AM
cool
r

rp

03/22/2022, 3:54 AM
If you can open an issue about this on out GitHub, that would be helpful 🙂
k

kelbs

03/22/2022, 3:54 AM
sure
nevermind, it was a stripe webhook endpoint that I had added previously that broke the docs
not supertokens!
r

rp

03/22/2022, 4:25 AM
Ah okay!
k

kelbs

03/22/2022, 4:25 AM
sorry, do you want me to delete the issue?
r

rp

03/22/2022, 4:26 AM
Sure. You can close it with an explanation that it’s not due to supertokens :). Thanks