Registration and Authentication using login and passwords #209
-
Hello,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 6 replies
-
Hail, @biboobserota 👋 Welcome to Fief's kingdom! Our team will get back to you very soon to help. In the meantime, take a minute to star our repository ⭐️ Farewell! |
Beta Was this translation helpful? Give feedback.
-
Hi @biboobserota 👋 Fief is not intended to be used directly as an authentication API. You need to think of it as a separate service which will handle all the login process. Your application will only receive a token you can use to identify the current user. We have a complete example for FastAPI here: https://docs.fief.dev/integrate/python/fastapi/ If you need more control and want to implement the authentication endpoints directly on your backend, then Fief might not be for you. You can have a look at dedicated libraries for this, like FastAPI Users. |
Beta Was this translation helpful? Give feedback.
Hi @biboobserota 👋
Fief is not intended to be used directly as an authentication API. You need to think of it as a separate service which will handle all the login process. Your application will only receive a token you can use to identify the current user. We have a complete example for FastAPI here: https://docs.fief.dev/integrate/python/fastapi/
If you need more control and want to implement the authentication endpoints directly on your backend, then Fief might not be for you. You can have a look at dedicated libraries for this, like FastAPI Users.