-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove X-EdX-Api-Key
usage
#103
Comments
@mudassir-hafeez Could you take a look at this before mitodl/mitxpro#2872? These two are associated issues and we should work on this one before the xPRO one. |
@pdpinch
I suggest we wait until EdX completely removes the usage of EdX-Api-Key from edx-platform. After that, we can address any necessary fixes or adjustments. |
What is the open edx community plan for addressing this?
I thought we had already switched mitxonline to use a staff user for enrollments already, so we could the invitation_only setting.
|
In addition to @pdpinch 's comment, Here are some thoughts from my end:
Some questions:
If we can perform unenroll with staff token and without I'd also like to note that the impact of any changes we make in edx-api-client would not be limited to MIT xPRO, It would also touch MITx Online since that uses the same client for API calls to edX. |
Update We(Me, Muddassir, and Arslan) discussed the enrollments. Here are the notes of the discussion and steps forward:
Next Steps
|
Closing #103 as PR #104 and related PRs (mitodl/mitxpro#2982 and mitodl/mitxonline#2217) have been deployed to production. |
Description/Context
Open edX is going to remove the support of
X-EdX-Api-Key
header. Currently, we are using theX-EdX-Api-Key
and token authentication both in our client. As per the initial R&D, we can safely remove the usage ofX-EdX-Api-Key
and our apps would still work as we use the token authentication in our Apps.Usages:
edx-api-client/edx_api/client.py
Line 47 in 6195349
Acceptance Criteria:
X-EdX-Api-Key
is removed safely without an impact on the existing functionality.Related tickets
mitodl/mitxpro#2872
mitodl/mitxonline#2102
The text was updated successfully, but these errors were encountered: