manosim / django-rest-framework-api-key

An extra layer of authentication for Web APIs made with Django REST Framework
BSD 2-Clause "Simplified" License
92 stars 30 forks source link

Benefits over token authentication? #7

Closed hermanocabral closed 6 years ago

hermanocabral commented 7 years ago

Hi,

Just wondering why would I use this instead of DRF's token auth?

swapnilsm commented 7 years ago

Because then you will need a service user to be created for this. And that is an overkill because it's a service which will be accessing those apis and not a user.

adrianboyko commented 6 years ago

Hashing the key before saving it would be another handy advantage over DRF's authtoken, if implemented.