Skip to content

fix: add lms url to redirect_uris field

Kaustav Banerjee requested to merge kaustav/add_lms_url into main

Description

The clone course API calls from the clone-course-worker fails with the message 401 Client Error: Unauthorized for url: http://lms:8000/oauth2/access_token if the worker is restarted.

This MR adds the LMS url http://lms:8000/ to the redirect_uris list in the DOT application that is created/updated during initialization.

Testing instructions

  1. Verify this branch is deployed in this sandbox instance
  2. Verify the lms url is present in the redirect_uris list here

Deadline

"None" if there's no rush, or provide a specific date or event (and reason) if there is one.

Other information

OpenCraft internal ticket : BB-7664

Merge request reports