Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Athena is broken on Desktop (CORS + Wails) #404

Closed
AnalogJ opened this issue Feb 2, 2024 · 0 comments
Closed

[Bug]: Athena is broken on Desktop (CORS + Wails) #404

AnalogJ opened this issue Feb 2, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@AnalogJ
Copy link
Member

AnalogJ commented Feb 2, 2024

Contact Details

No response

What happened?

An error occurred while initializing external data source connection: '{"message":"Client ID Required","line":1,"column":2689668,"sourceURL":"wails://wails/main.3cc3f3dd3b6ff463.js","stack":"@wails://wails/main.3cc3f3dd3b6ff463.js:1:2689668\ngeneratorResume@[native code]\nDe@wails://wails/polyfills.5ca82281f9682ff9.js:1:215358\nkt@wails://wails/polyfills.5ca82281f9682ff9.js:1:215586\nonInvoke@wails://wails/main.3cc3f3dd3b6ff463.js:1:114502\n@wails://wails/assets/js/lforms/assets/lib/zone.min.js:14:2295\n@wails://wails/assets/js/lforms/assets/lib/zone.min.js:29:3019\nonInvokeTask@wails://wails/main.3cc3f3dd3b6ff463.js:1:114322\n@wails://wails/assets/js/lforms/assets/lib/zone.min.js:14:2962\nm@wails://wails/assets/js/lforms/assets/lib/zone.min.js:14:10278\npromiseReactionJob@[native code]"}'
Summary
URL: wails://wails/api/cors/c80fbbc2-ad04-4a3c-90a3-f94ebeb9f34e/api.platform.athenahealth.com/oauth2/v1/token
Status: 400 Bad Request
Source: —
Initiator: 
zone.min.js:29:6050


Request
Accept: application/json
Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Referer: wails://wails/
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) wails.io

Response
Pragma: no-cache
Content-Type: application/json
Access-Control-Allow-Methods: GET,HEAD
Access-Control-Allow-Credentials: true
Date: Fri, 02 Feb 2024 03:19:26 GMT
Content-Length: 136
Cache-Control: no-cache
Access-Control-Allow-Origin: *
X-Request-Id: rrt-XXXX

Request Data
MIME Type: application/x-www-form-urlencoded;charset=UTF-8
redirect_uri: https://lighthouse.fastenhealth.com/v1/callback/athena
code_verifier: CNUxs6w4XXXXXXHc
code: bFXXXXXCAU
grant_type: authorization_code
client_id: 0oah3362urvAXLB0a297

Request Data looks the same as Browser data.

Flavor

Docker

Version

No response

Relevant log output

No response

@AnalogJ AnalogJ added the bug Something isn't working label Feb 2, 2024
@AnalogJ AnalogJ self-assigned this Feb 2, 2024
@AnalogJ AnalogJ closed this as completed in 74a1819 Feb 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant