how to resolve OAuth2 Error: INVALID_CLIENT when making authorization request

140 views
Skip to first unread message

james mayo

unread,
Feb 13, 2020, 1:02:37 PM2/13/20
to SMART on FHIR
Hi all.  Need help resolving issue of building app to test in Sandbox
1.  Created an appliction on https://open.epic.com/MyApps
2. Followed directions on link https://open.epic.com/Tutorial/OAuth to request authorization code
    example:


    Replaced with my actual client id and redirect_url


But getting below error:

OAuth2 Error: 

INVALID_CLIENT


The application trying to authorize is not recognized, provided invalid identifying information, or we were unable to verify its identity at this time.


3. Why would I get the above error If I have registered and have a client id assigned?


At bottom of screen is a button that says submit to sandbox and I pressed it but not sure if its actually registering my App  becuase the submt to sandbox button always displays.  I would think after registering it would hide.


Thanks in advance



James Kizer

unread,
Feb 13, 2020, 1:34:57 PM2/13/20
to SMART on FHIR
Hi James,

I recently went through this. It took a day or two for the app to sync with the sandbox, but it eventually started working. I think you just need to wait.

james mayo

unread,
Feb 13, 2020, 2:40:48 PM2/13/20
to SMART on FHIR
Thanks.  I will give it some time to sync

james mayo

unread,
Feb 17, 2020, 1:52:29 PM2/17/20
to SMART on FHIR
Yes.  I was able to get authorized and get access token back. 
Thank you.
Reply all
Reply to author
Forward
0 new messages