Hi,
I am looking for some advice regarding getting the JWT from the integration environment.
I am running the example code from GitHub .
I have also set up the application with access to the PDS service.
However I am getting a 401 when calling the following token URL https://int.api.service.nhs.uk/oauth2/token
As I understand 401 indicates a issue with the API key or the header.
error | code | |
---|---|---|
Access token is missing | 401 (Unauthorized) | |
Access token is invalid | 401 (Unauthorized) | |
Access token has expired | 401 (Unauthorized) | |
kid header is invalid | 401 (Unauthorized) | invalid_request Invalid ‘kid’ header in client_assertion JWT - no matching public key |
The Application ID is b877120a-235b-4613-9cec-a1f9cceb6006
Can you advice how best to identify what the issue is?