2 questions for the security of my projects. #14
Replies: 2 comments 2 replies
-
Hello @arminvburren 👋 I perfectly understand your concerns, and I'll try to bring you objective answers. Before answering your questions, I would like to point out that I'm also the creator of FastAPI Users, which is an open-source library to help you add authentication to a FastAPI project (— actually, Fief is built upon FastAPI Users —). In this context, everything is run and backed by your app with no dependency on an external service like Fief. It may be worth to check for your project.
Now, regarding your questions about Fief:
I hope it answers your questions. Feel free to ask for more clarifications 🙂 |
Beta Was this translation helpful? Give feedback.
-
Thx for the answer. I checked quickly fastapi-users and it seems that I would have to recode the entire front-end for the flow (registering / logging / password validation / retrieving password) since I couldn't find a simple front end else where. A quick pro / cons of the two options goes like this: Fief (cloud db) + web app db
Note: Since I use heroku I can't use 'external db' option from fief because Heroku DBs adresses are not permanent. Self hosting unlinkely to work on heroku either... Fastapi-user + my web app db
I have some other priority than code an auth flow in my App, so right now i'll likely go with fief, especially since your answers are encourageing regarding the possibility to migrate the fief user db locally if I want to in the future. What and when are the update you want to do ? I'm only gonna use the basic in the "getting started" fief example i guess. |
Beta Was this translation helpful? Give feedback.
-
Ok so Fief in combination with a simple DB model seems to fit most of my project which is a web app on heroku where I want a basic user system and some "savings" of what my app does. Strangely enough this in particular is the only place where i've found a basic cookie-based auth system working with basic templates (everything else is a either a full stack module to complicated to me who is not a web dev person, and FastAPI tutorial doesn't show any use of cookies).
I'd be very happy to use it but I still have two questions so that i don't end up having troubles on the long term:
Can i start with the "cloud database" and later switch to self hosted / heroku db, and do this migration not losing any user ?
Since fief is still a young project, what happens if the project is sort of stalled / canceled / discontinued ? is there a way I could download the code of the module, and put it in my project so that I don't ave to rely on an existing (or not anymore) Pypi package ?
Beta Was this translation helpful? Give feedback.
All reactions