You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe the primary reason why this wasn't done was to allow people to disable the WWW-Authenticate response by putting a not supported method first in their list. By returning all of them, they would no longer be able to disable that behaviour.
django-rest-framework/rest_framework/views.py
Line 183 in 3f8ab53
Since
WWW-Authenticate
allows comma separated challenges https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/WWW-Authenticate#syntax, why not enable that here by returning headers from all authenticators instead of just the first one?The text was updated successfully, but these errors were encountered: