You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to register a mediator in openhim-core it fails with Failed to register the mediator! AxiosError: Request failed with status code 401. More context in slack.
The text was updated successfully, but these errors were encountered:
The latest version uses genAuthHeaders to authenticate the registration request. The documentation mentions that This can only be used after the .authenticate() function has been called for this user. which I don't think is happening. Calling the authenticate function before the registration call does not solve it so looking into alternative solutions.
njuguna-n
changed the title
Failure authenticaing against openhim-core using openhim-mediator-utils version 0.4.0
Failure authenticating against openhim-core using openhim-mediator-utils version 0.4.0
Mar 19, 2024
When trying to register a mediator in openhim-core it fails with
Failed to register the mediator! AxiosError: Request failed with status code 401
. More context in slack.The text was updated successfully, but these errors were encountered: