Django Rest Framework Token Auth w/ Django Channels?

Viewed 1275

Is there any way to get Django Rest Framework's Token Auth scheme working with a websocket connection (Channels)? I'm essentially looking to authenticate the user in the same way I do my Rest API, by passing the authorization Token in the header of the request. Right now I get a 503, but using the http session decorator I can get it to work when logged in through the Browsable API.

0 Answers
Related