Skip to content

Commit

Permalink
🔧(dogwood/3/fun) update settings for new richie connector
Browse files Browse the repository at this point in the history
Enable CORS requests. Furthermore add a PLATFORM_RICHIE_URL setting used by
fun-apps to redirect user on richie platform after login, registration
  • Loading branch information
jbpenrath committed Dec 10, 2020
1 parent 7df3141 commit cf545ea
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
8 changes: 8 additions & 0 deletions releases/dogwood/3/fun/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,14 @@ release.

## [Unreleased]

### Added

- Add new `PLATFORM_RICHIE_URL` setting in lms config used by fun-apps

### Changed

- Enable CORS requests

## [dogwood.3-fun-1.16.0] - 2020-12-04

### Changed
Expand Down
3 changes: 3 additions & 0 deletions releases/dogwood/3/fun/config/lms/docker_run_production.py
Original file line number Diff line number Diff line change
Expand Up @@ -1224,6 +1224,9 @@

ROOT_URLCONF = "fun.lms.urls"

# Related Richie platform url
PLATFORM_RICHIE_URL = config("PLATFORM_RICHIE_URL", default=None)

# Haystack configuration (default is minimal working configuration)
HAYSTACK_CONNECTIONS = config(
"HAYSTACK_CONNECTIONS",
Expand Down
10 changes: 10 additions & 0 deletions releases/dogwood/3/fun/config/lms/settings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,10 @@ FEATURES:
CERTIFICATES_ENABLED: true
CERTIFICATES_HTML_VIEW: true
ENABLE_CONTENT_LIBRARIES: true
ENABLE_CORS_HEADERS: true
ENABLE_CREDIT_API: true
ENABLE_CREDIT_ELIGIBILITY: true
ENABLE_CROSS_DOMAIN_CSRF_COOKIE: true
ENABLE_DASHBOARD_SEARCH: true
ENABLE_DISCUSSION_SERVICE: true
ENABLE_DJANGO_ADMIN_SITE: true
Expand Down Expand Up @@ -251,3 +253,11 @@ JWT_ISSUER: http://localhost:8000/oauth2
JWT_EXPIRATION: 30

OAUTH_ENFORCE_SECURE: false

CORS_ALLOW_CREDENTIALS: true
CORS_ALLOW_INSECURE: true
CORS_ORIGIN_ALLOW_ALL: true
CROSS_DOMAIN_CSRF_COOKIE_NAME: edx_csrf_token
CROSS_DOMAIN_CSRF_COOKIE_DOMAIN: .local.dev

PLATFORM_RICHIE_URL: http://richie.local.dev:8070

0 comments on commit cf545ea

Please sign in to comment.