Skip to Main Content

Integration

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

invalid_grant

Andrei GarineJun 4 2025 — edited Jun 4 2025

Error message is invalid_grant

Token request failed: {"error":"invalid_grant","error_uri":"https://authorization.cerner.com/errors/urn%3Acerner%3Aerror%3Aauthorization-server%3Aoauth2%3Atoken%3Ainvalid-tenant/instances/b7384049-d5b6-4b16-852c-0d16c2803873?client=5b668bfd-ad07-4479-b732-f2af646dc69d&tenant=5b668bfd-ad07-4479-b732-f2af646dc69d"}

Here is part of my code

var body = new Dictionary<string, string>
{
{ "grant_type", "client_credentials" },
{ "scope", "system/Patient.read system/MedicationOrder.read" },
{ "client_assertion_type", "urn:ietf:params:oauth:client-assertion-type:jwt-bearer" },
{ "client_assertion", clientAssertion },
{ "client_id", clientId }
};

App ID 721e4f5c-a45d-4d8b-8c82-003b45b8c8c6
Client ID 5b668bfd-ad07-4479-b732-f2af646dc69d

Expected Result: access token

Comments
Post Details
Added on Jun 4 2025
0 comments
59 views