Skip to content

Integrate Fief into existing FastAPI app or run Fief as a separate app? #325

Closed Answered by frankie567
kielerrr asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @kielerrr 👋

That's actually a very interesting question 😄

As you guessed, Fief is designed to be run as a standalone app (would I dare to say like a "microservice") running alongside your own apps.

That said, now we're currently re-architecturing the app to drop multiple workspaces support (#323), and since Fief is a pure FastAPI/ASGI app, I also think it will be possible to mount it directly into another FastAPI/ASGI app so everything runs inside the same process. That's not a reality right now, but I think I'll document this use-case when it becomes possible.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by kielerrr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants