Forum Discussion

Mythobeast's avatar
Mythobeast
Visitor
4 years ago

Working with Django authentication?

I'm trying to make a standard Swagger UI page work with Django's standard authentication scheme. Django prefers to receive a username and password as JSON content in the body, and passes back a token in a return JSON message. That token must then be included in the Authorization header of future requests.

 

Is there something in Swagger that does this, and I missed it? Is there a better authentication framework that Django has an implementation of? Please let me know.

 

Thanks,

 

Robert

No RepliesBe the first to reply