r/FastAPI • u/trollboy665 • Mar 09 '25
Question FASTAPI auth w/ existing Django auth
I'm building a separate fastapi app and want to use authentication from Django. Is there an existing library I can install that will handle django salts/passwords/etc in the db to allow authentication?
2
Upvotes
View all comments
Show parent comment
2
u/GamersPlane Mar 10 '25
I haven't looked at the Django auth code in a long time, but best I remember, it's nothing special. I'd recommend reading the Django source and copying/rewriting it. Ultimately, it'll be some hash using crypto I imagine.