When I send a request for an access token using A JWT token to https://authorization.cerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/protocols/oauth2/profiles/smart-v1/token I get the error:
"error": "invalid_client",
"error_uri": "https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aclient-assertion%3Ajwt-bearer%3Ainvalid-signature/instances/2186a7a6-23ba-48c1-8ba4-c79421905b57?client=06b40d53-b394-4598-9a75-2abbb211f089&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d"
I have checked everything and all looks good to me.
Also with Basic Auth I getthe error:
{"error":"invalid_client","error_uri":"https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-client-credentials/instances/cf586edd-0f64-402c-959a-8f47c9558bcf?client=unknown&tenant=ec2458f2-1e24-41c8-b71b-0e701af7583d"}.
I have checked the client id and secret and both are good.
Please advise on what could possibly be wrong.
Thanks