fastenhealth / fasten-sources

The Fasten Sources is a library that defines medical provider metadata (definitions - OpenID Metadata documents) and http clients (OAuth2/Smart-on-FHIR clients) which can be used to retrieve data from various Medical Providers (clients).
19 stars 6 forks source link

Unable to add Athena Health source - Acess Control Allow Origin Header #11

Closed starsoccer closed 5 months ago

starsoccer commented 10 months ago

When trying to setup athena health the following is logged in the console:

Access to fetch at 'https://api.platform.athenahealth.com/oauth2/v1/token' from origin 'http://xxxxxxxxx:9090/' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

AnalogJ commented 5 months ago

hey @starsoccer This should be fixed in the latest version of Fasten. Sorry about the delay!