Hello,
I've registered a smart on FHIR application (type: provider) and am trying to obtain an access token for the FHIR server.
I'm using Client Id (3a3ee28f-26fe-4ce2-9785-127d5dc0dca2) as seen in the smart-on-fhir dashboard and client secret as I see it for my system account.
The error i get back is 'invalid request'.
Client authentication: 'Client secret sent as basic auth'
Scopes: launch profile fhirUser openid online_access user/Account.read
The main issue I see may be that I'm using either wrong clientId or (probably this one?) wrong client secret? Is it alright to use system account client secret as the client secret for this provider app? If not, where do I get the client secret?
Best, Gasper