Workflow or API calls:
I am able to successfully retrieve a token from the sandbox authorization endpoint, using basic auth with client_id:seccret
https://authorization.cerner.com/tenants/ec2458f2-1e24-41c8-b71b-0e701af7583d/protocols/oauth2/profiles/smart-v1/token
Then i change to the tenant id in the request to our clients tenant. Otherwise i make the same request but an error is returned instead of the token
Expected Result:
access token
Actual Result:
X-Request-Id / Cerner-Correlation-Id:
Cerner-Correlation-ID: cc5d838f-8813-4985-b2cd-0f3e6e1465c8
{"error":"unauthorized_client","error_uri":"https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Aunauthorized-client-for-tenant/instances/cc5d838f-8813-4985-b2cd-0f3e6e1465c8?client=9a776fc1-30cd-4e21-ae67-b81f425b1588&tenant=DM0AwKVZp31J_av2gClWDZB8oYdLOUJ3"}%