https://github.com/thiagola92/learning-authentication
https://github.com/thiagola92/learning-authentication
authentication learning
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/thiagola92/learning-authentication
- Owner: thiagola92
- Created: 2024-05-11T11:26:33.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-01T09:46:33.000Z (about 2 years ago)
- Last Synced: 2025-03-02T18:33:59.282Z (over 1 year ago)
- Topics: authentication, learning
- Language: Python
- Homepage:
- Size: 22.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# learning-authentication
Implementing the basic of multiple authorization strategies.
NOTE: I was organizing the repository but stopped middle way because I was tired of adding many ways of doing the same thing.
# strategies
- [username password](./username_password/README.md)
- Login by username and password
- Access private content
- [email password](./email_password/README.md)
- Login by email and password
- Access private content
- Recover account through recovery code
# tools
- [httpx](https://www.python-httpx.org/) to make http request
- [DuckDB](https://duckdb.org/) as local database
- [Starlette](https://www.starlette.io/) as RESTful API
- [aiosmtpd](https://aiosmtpd.aio-libs.org/en/latest/) as email server
# references
- https://www.youtube.com/watch?v=996OiexHze0
- https://www.youtube.com/watch?v=IThLjsDUG0g
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Authorization
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/POST
- https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type