Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-deposit
Source project has a limited visibility.
  • Antoine R. Dumont's avatar
    27dfb89f
    swh.deposit.auth: private api is free from basic authentication · 27dfb89f
    Antoine R. Dumont authored
    This includes:
    
    - dropping the old swh.deposit.auth module which included a basic
      authentication middleware. We now use djangorestframework's (drf).
      We did not prior to this due to some package version issue.
    
    - As this returns json response in failing authentication though, we
      convert the response into an swh-deposit one (that code remained in
      the swh.deposit.auth module)
    swh.deposit.auth: private api is free from basic authentication
    Antoine R. Dumont authored
    This includes:
    
    - dropping the old swh.deposit.auth module which included a basic
      authentication middleware. We now use djangorestframework's (drf).
      We did not prior to this due to some package version issue.
    
    - As this returns json response in failing authentication though, we
      convert the response into an swh-deposit one (that code remained in
      the swh.deposit.auth module)