Axioms Python client for Django Rest Framework (DRF). Secure your DRF APIs using Axioms Authentication and Authorization.
- Python 3.7+
- An Axioms client which can obtain access token after user's authentication and authorization and include obtained access token as bearer in
Authorization
header of all API request sent to Python/Django/DRF application server.
Install axioms-drf-py
in you DRF API project,
pip install axioms-drf-py
See documentation for axioms-drf-py
.
To see a complete working example download DRF sample from our Github repository or simply deploy to Heroku by clicking following button. You will need to provide Axioms domain and Axioms audience to complete deployment.