We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 57d3ee7 commit c9cf423Copy full SHA for c9cf423
1 file changed
src/project/settings.py
@@ -231,6 +231,10 @@
231
# into account providers defined in database models.
232
SOCIAL_AUTH_STRATEGY = 'dynamic_social_auth.strategy.DjangoModelStrategy'
233
234
+# Set a timeout for upstream requests to auth providers (in seconds).
235
+# Note: 10 seconds is the default starting in social-auth-core 4.9.0.
236
+SOCIAL_AUTH_REQUESTS_TIMEOUT = 10
237
+
238
AUTH_USER_MODEL = 'sa_api_v2.User'
239
240
# TODO: Enable after Django 1.11 update # SOCIAL_AUTH_POSTGRES_JSONFIELD = True
0 commit comments