overhangio / tutor-mfe

This plugin makes it possible to easily add micro frontend (MFE) applications on top of an Open edX platform that runs with Tutor.
GNU Affero General Public License v3.0
22 stars 95 forks source link

fix: add missing CSRF configuration #95

Closed arbrandes closed 1 year ago

arbrandes commented 1 year ago

When introducing dynamic config[1], CSRF_TOKEN_API_PATH was removed from the MFE build environment and not added to the corresponding Django settings, leading to POST failures across the board.

This addresses the problem by adding CSRF_TOKEN_API_PATH back in.

[1] https://github.com/overhangio/tutor-mfe/pull/69

arbrandes commented 1 year ago

Tested with tutor local, fixes all POST problems.