no i have done it same and everything is set my other apis are working properly but only the user api not working {
“detail”: “Authentication credentials were not provided.”
}
the erollement api requires only jwt token but the users api require secret key i have define my secret key in my config.yml but still getting the same error when calling my users api
Can you provide links to the code you are referring to?
Note that JWT Authentication is recommended, so if an API doesn’t support it, we might add it to fix the issue.
The API secret key is deprecated, so if the code doesn’t support it, we would not want to add it. Also, if the code does support it, it may no longer at some future time.
@Shahzad_Baloch, the endpoint you mentioned supports only the deprecated API key. If you want to use it now, you can specify the following header in your request - X-Edx-Api-Key: <value from settings.EDX_API_KEY>.
However, keep in mind that this API is not particularly stable. E.g., it will return HTTP 500 if you have users without profiles (e.g., login_service_user) in your DB.