Getting the below response from https://int.api.service.nhs.uk/oauth2/token
“error_description”: “Content-Type header must be application/x-www-urlencoded”,
Seems simple enough error but I have “application/x-www-urlencoded” set as my Content Type.
I have also encoded the below as url encoded in the body of the request:
- grant_type = client_credentials
- client_assertion_type = urn:ietf:params:oauth:client-assertion-type:jwt-bearer
- client_assertion = <your signed JWT from step 4>
First time requester so I’m sure it’s something simple. Anyone else have this problem?
Thanks in advance,