athenahealth / apiserver-athenaFlex

Software developers can use sample code and documentation to use athenahealth's athenaPractice/athenaFlow FHIR API Server.
https://mydata.athenahealth.com/home
17 stars 7 forks source link

unable to login getting error - session_expired or invalid_state Your session timed out or the authorization request was invalid. #288

Closed daman9646 closed 6 months ago

daman9646 commented 11 months ago

unable to login getting error - session_expired or invalid_state Your session timed out or the authorization request was invalid.

To Reproduce Steps to reproduce the behavior: 1 Construct the url and open in browser 2 click on work account 3 login with hwinston@sboxprovtenant.com , TestProvider!@

Expected behavior Patient search screen

![Uploading Screenshot 2024-01-09 at 10.53.08 AM.png…]()

ThomasNYoung commented 10 months ago

I am getting the same error with those same credentials after building the url. Oops! session_expired or invalid_state Your session timed out or the authorization request was invalid.

This is for Provider workflow.

deepaktiwari29 commented 8 months ago

Hello @daman9646 & @ThomasNYoung, I am able to get the code and generate token on ap22 sandbox. Were you able to follow the instructions from dev portal and get the appropriate auth code after selecting the patient? If not, can you please post a full copy of the URL you are using for the authorize endpoint.

deepaktiwari29 commented 6 months ago

Hello @daman9646 & @ThomasNYoung, hoping you are not facing this still. Marking this issue as closed, if you have any further questions, please open a new ticket.