mitodl / mitxonline

BSD 3-Clause "New" or "Revised" License
4 stars 2 forks source link

refactor: remove EdX-Api-Key usage #2217

Closed mudassir-hafeez closed 3 months ago

mudassir-hafeez commented 3 months ago

What are the relevant tickets?

#2102

Description (What does it do?)

This PR removes EDX_API_KEY usage as Open edX is going to remove the EDX_API_KEY. Details can be found at https://github.com/openedx/edx-platform/issues/34039. It also fixes a potential impact on the deactivate_enrollment API for non-staff users if the EdX-Api-Key is removed.

Screenshots (if appropriate):

How can this be tested?

Important to be tested:

Additional Context

mudassir-hafeez commented 3 months ago

@asadali145 can you please review as discussed to bump edx-api-client version to 1.9.0? The edx-api-client version 1.9.0 was published at https://github.com/mitodl/edx-api-client/pull/105.

arslanashraf7 commented 3 months ago

@asadali145 / @mudassir-hafeez Thanks. It would be good to keep MITx Online dev team in loop about this change.