Skip to content

Commit 7426499

Browse files
authored
Merge pull request #2335 from dandi/fix-setting-name
Fix oauth2 setting
2 parents 9208b4e + aa7934e commit 7426499

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

dandiapi/settings.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,4 +204,6 @@ def mutate_configuration(configuration: type[ComposedConfiguration]):
204204
class HerokuStagingConfiguration(HerokuProductionConfiguration):
205205
# The staging configuration enables wildcards in OAuth redirect URIs in order
206206
# to support Netlify deploy previews.
207-
ALLOW_URI_WILDCARDS = True
207+
OAUTH2_PROVIDER = {
208+
'ALLOW_URI_WILDCARDS': True,
209+
}

0 commit comments

Comments
 (0)