https://supertokens.com/ logo
e

e_simon

05/22/2022, 2:02 PM
This may be a dumb question, but what is the best way to secure my FastAPI routes to ensure supertokens auth?
r

rp

05/22/2022, 2:03 PM
Use our session management recipe!
That way only logged in users have access to those routes
e

e_simon

05/22/2022, 2:13 PM
Oh. I'm an idiot. It is working πŸ˜› when I was testing from UI, it was passing the session already.
r

rp

05/22/2022, 2:14 PM
Hehe. Happens to the best of u. Don’t worry about it πŸ™‚