Skip to content

Commit 0affe4c

Browse files
committed
update TODO.md
Signed-off-by: Grant Ramsay <seapagan@gmail.com>
1 parent 73cfd94 commit 0affe4c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

TODO.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,17 +30,24 @@
3030
- add pagination to the user list endpoint. Implement this in a way that is
3131
generic and can be used for other custom endpoints too. The library
3232
'fastapi-pagination' is really good and performant.
33+
- remove all the `print` statements and replace with proper logging. Hook into
34+
the `uvicorn` logger for this, and offer alternative if uvicorn is not being
35+
used for some reason.
36+
37+
## Bugs/Annoyances
38+
39+
See [BUGS.md](BUGS.md) for a list of known bugs and annoyances.
3340

3441
## Auth
3542

3643
- add a password recovery endpoint
3744
- Add a `logout` route to immediately invalidate the users token and refresh
3845
token. This will need a database to be kept of invalidated tokens (which can
3946
periodically be auto-purged of tokens that would be time-expired anyway.)
47+
Redis would be a good choice for this.
4048
- Once the above is done, if a user deletes themselves (or is deleted), their
4149
tokens should be invalidated immediately, this wil fix the Internal Server
4250
Error if they try to keep connecting with their old tokens.
43-
- when a user
4451
- Implement user groups and permissions, make it configurable.
4552
- Allow social login (eg Google, Facebook, Twitter, etc), check out
4653
[fastsapi-sso](https://github.com/tomasvotava/fastapi-sso) for this.

0 commit comments

Comments
 (0)