takahe/api
Cosmin Stejerean efd5f481e9
OAuth2 Fixes (#338)
This implements a few oauth2 fixes:

- passes along the state object
- enforces authorization code expiration (currently set to 1 minute, we could make this configurable)
- enforces redirect_uri
- properly checks for client_secret when granting a token
- handles pulling client authentication for token grant from basic auth
- implement token revocation
2023-01-01 11:46:55 -07:00
..
migrations OAuth2 Fixes (#338) 2023-01-01 11:46:55 -07:00
models OAuth2 Fixes (#338) 2023-01-01 11:46:55 -07:00
views OAuth2 Fixes (#338) 2023-01-01 11:46:55 -07:00
__init__.py Working start of an OAuth flow 2022-12-12 11:56:49 -07:00
admin.py Working start of an OAuth flow 2022-12-12 11:56:49 -07:00
apps.py Working start of an OAuth flow 2022-12-12 11:56:49 -07:00
decorators.py Timelines working 2022-12-12 11:56:49 -07:00
middleware.py OAuth2 Fixes (#338) 2023-01-01 11:46:55 -07:00
pagination.py Accept interactions as pagination anchors 2022-12-29 14:00:37 -07:00
parser.py Don't parse the body if it's empty 2022-12-27 16:18:22 -07:00
schemas.py Fixes for the Toot! client (#248) (#275) 2022-12-29 10:31:32 -07:00