appsembler / edx-platform

Appsembler Tahoe fork of Open edX. Branches: `main` for Juniper and `hawthorn/main` for Hawthorn.
https://appsembler.com/products/tahoe/
GNU Affero General Public License v3.0
13 stars 15 forks source link

Fix domain for video block LMS Root used for YT metadata #1356

Closed bryanlandia closed 1 year ago

bryanlandia commented 1 year ago

Change description

In video_module, get customer domain (including custom domain override) for the LMS root URL used as the prefix for requests to the block handler that retrieves metadata from YouTube. It's been using tahoe.appsembler.com, which results in a 302 to login, then a CORS error from the handler.

Type of change

Related issues

https://appsembler.atlassian.net/browse/ENG-97

Checklists

Development

Security

Code review

github-actions[bot] commented 1 year ago

Checking git merge conflicts against https://github.com/edx/edx-platform.git

Comparing with open-release/nutmeg.master
Benchmark conflicts with main 298
Current conflicts 299
Summary Adds 1 new conflicts. How can we do better?
New conflicting files with 'open-release/nutmeg.master' ``` common/lib/xmodule/xmodule/video_module/video_module.py ```
Comparing with master
Benchmark conflicts with main 313
Current conflicts 314
Summary Adds 1 new conflicts. How can we do better?
New conflicting files with 'master' ``` xmodule/video_block/video_block.py ```
github-actions[bot] commented 1 year ago

Checking git merge conflicts against https://github.com/edx/edx-platform.git

Comparing with open-release/nutmeg.master
Benchmark conflicts with main 298
Current conflicts 299
Summary Adds 1 new conflicts. How can we do better?
New conflicting files with 'open-release/nutmeg.master' ``` common/lib/xmodule/xmodule/video_module/video_module.py ```
Comparing with master
Benchmark conflicts with main 313
Current conflicts 315
Summary Adds 2 new conflicts. How can we do better?
New conflicting files with 'master' ``` xmodule/video_block/video_block.py ```