Authentication with DRF_API_KEY_SECRET_KEY_HEADER only
See original GitHub issueIs your feature request related to a problem? Please describe.
It would be handy to allow client to use only a secret key value DRF_API_KEY_SECRET_KEY_HEADER
to access endpoints.
Describe the solution you’d like
Client software provides only DRF_API_KEY_SECRET_KEY_HEADER
and has its access to the endpoints and it is clear on the Django side to which client this key belongs to.
Describe alternatives you’ve considered Adopt DRF token authentication for non-human clients.
Issue Analytics
- State:
- Created 5 years ago
- Comments:27 (15 by maintainers)
Top Results From Across the Web
User Guide - Django REST Framework API Key - GitHub Pages
This is useful if you plan to use API keys AND an authentication scheme which already uses the Authorization header (e.g. token-based authentication)....
Read more >Secret API key for accessing Django REST framework
Is there any straightforward solution to do this in django rest framework? Or just to pass the key in request header and then...
Read more >How to Implement API Key Authentication in Rails Without ...
We'll be storing the current API key bearer and the current API key into controller-level instance variables, current_bearer and current_api_key ...
Read more >djangorestframework-api-key 2.2.0 - PyPI
Generate, view and revoke API keys from the Django admin. Authenticate requests using the Api-Token and Api-Secret-Key headers. Customizable via the ...
Read more >Authentication - Django REST framework
Django, API, REST, Authentication. ... For clients to authenticate, the token key should be included in the Authorization HTTP header. The key should...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, UX is better with a single key only, without any additional IDs. I do integrate your library and will have to use both ID and the key (as there are no other options at the moment), though I would like to implement desired behaviour in feture if this package will provide needed functionality.
I want access to my API to be as simple as this example from
geocoder
:Great job! 👏