Skip to content

Commit

Permalink
SACGF/variantgrid_sapath#317 - SA Path classification sync failed wit…
Browse files Browse the repository at this point in the history
…h 403 for Variantgrid.com - turn back on DRF BasicAuthentication as it's needed by classification clients
  • Loading branch information
davmlaw committed Sep 16, 2024
1 parent 8ca7b1a commit c440703
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions variantgrid/settings/components/default_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -724,6 +724,7 @@
# NOTE: Middleware is run first - so GlobalLoginRequiredMiddleware will reject tokens w/o logins
# before DRF even sees it. You need to add your APIs to PUBLIC_PATHS
'DEFAULT_AUTHENTICATION_CLASSES': [
'rest_framework.authentication.BasicAuthentication', # Needed to classification export clients
'rest_framework.authentication.SessionAuthentication',
'rest_framework.authentication.TokenAuthentication',
],
Expand Down

0 comments on commit c440703

Please sign in to comment.