Skip to content

Commit

Permalink
Merge pull request #330 from SpyTec/patch-3
Browse files Browse the repository at this point in the history
Add SessionAuthentication to DRF auth classes
  • Loading branch information
akatsoulas committed Sep 28, 2020
2 parents 514ee17 + a5af965 commit 8c6c86b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions docs/drf.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Add this to your settings:
REST_FRAMEWORK = {
'DEFAULT_AUTHENTICATION_CLASSES': [
'mozilla_django_oidc.contrib.drf.OIDCAuthentication',
'rest_framework.authentication.SessionAuthentication',
# other authentication classes, if needed
],
}
Expand Down

0 comments on commit 8c6c86b

Please sign in to comment.