"Authentication credentials were not provided" on log out TokenAuthentication
engin-can opened this issue · 1 comments
engin-can commented
Hi,
I keep getting the following error when I log out with TokenAuthentication
: Authentication credentials were not provided.
.
Any idea why this is happening?
curl -X POST http://localhost:8000/auth/token/logout/ --data 'f4c30aed2268e8d952a742e82fe24b012766fe5f' -H 'Authorization: Token f4c30aed2268e8d952a742e82fe24b012766fe5f'
williank commented
Worked...
'AUTH_HEADER_TYPES': ('JWT', 'Bearer'),
The djoser needs this key in the settings.SIMPLE_JWT
Simplejwt itself doesn't depend on it.