Skip to content

Commit

Permalink
add template settings for django allauth social login using openid_co…
Browse files Browse the repository at this point in the history
…nnect #1895
  • Loading branch information
jh-RLI committed Oct 23, 2024
1 parent a2c30a6 commit 2a081a6
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions oeplatform/securitysettings.py.default
Original file line number Diff line number Diff line change
Expand Up @@ -115,3 +115,18 @@ SILENCED_SYSTEM_CHECKS = ['captcha.recaptcha_test_key_error']
CORS_ORIGIN_ALLOW_ALL = True

OEKG_SPARQL_ENDPOINT_URL = "http://localhost:3030/ds/sparql"

SOCIALACCOUNT_PROVIDERS = {
"openid_connect": {
# For each OAuth based provider, either add a ``SocialApp``
# (``socialaccount`` app) containing the required client
# credentials, or list them here:
"APP": {
"provider_id": "",
"name": "",
"client_id": "",
"secret": "",
"settings": {"server_url": ""},
}
}
}

0 comments on commit 2a081a6

Please sign in to comment.