Description
What is the best way to handle users registers, login, pasword changes, unregister?
A way to manage permissions and roles?
Additional context
Something similar to flask-auth , flask -security, flask login?
Sorry for the delay, it would probably be with Dependencies: https://fastapi.tiangolo.com/tutorial/dependencies/first-steps/
As an example, check the project generators:
I understand these links answer the question, so I'll close this issue. But feel free to add more comments or create new issues.
Just to put my two cents in, I'm currently working on a library proposing ready-to-use auth-related routes and base user model: https://github.com/frankie567/fastapi-users
The goal is to deliver the basic/boring/ever-repeating logic while giving the developer enough room to customize it to their needs.
excellent !
On Fri, Oct 25, 2019 at 9:04 AM François Voron notifications@github.com
wrote:
Just to put my two cents in, I'm currently working on a library proposing
ready-to-use auth-related routes and base user model:
https://github.com/frankie567/fastapi-usersThe goal is to deliver the basic/boring/ever-repeating logic while giving
the developer enough room to customize it to their needs.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tiangolo/fastapi/issues/67?email_source=notifications&email_token=AAINSPTOJBHFNDZCMU6W4QDQQKK63A5CNFSM4G3W3URKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOECHM6GA#issuecomment-546230040,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAINSPVFQRK3XVECOKYQFC3QQKK63ANCNFSM4G3W3URA
.
--
benoit barthelet
http://pgp.mit.edu/pks/lookup?op=get&search=0xF150E01A72F6D2EE
Most helpful comment
Just to put my two cents in, I'm currently working on a library proposing ready-to-use auth-related routes and base user model: https://github.com/frankie567/fastapi-users
The goal is to deliver the basic/boring/ever-repeating logic while giving the developer enough room to customize it to their needs.