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

Unable to get patientId after successful login #160

Open
shubhddn01 opened this issue Oct 27, 2022 · 2 comments
Open

Unable to get patientId after successful login #160

shubhddn01 opened this issue Oct 27, 2022 · 2 comments

Comments

@shubhddn01
Copy link

Hi Team,

I'm using Auth0 for authentication, founded that after successful login, I am able to get all the token values and landed on mentioned redirect URL.

Issue : Unable to get the patientId on the redirected page. Although if I use fhirServiceUrl(open fhir server), then its working.
Params :

  • clientId: "********************************rtyrt56756" //from auth0
  • scope : patient/*.* user/*.* launch openid fhirUser profile
  • iss: "http://localhost:3000/fhir"
  • launch: "eyJhIjoxLCJmIjpmYWxzZSwiYiI6IjMiLCJnIjpmYWxzZSwiZCI6LTF9", //patientId=2
  • redirectUri : "index.html"

The thing I noticed, I'm not getting all the scope in response from Auth0, only got "openid profile".

Please let me know how can I solve this issue.
Thanks in advance.

@ddegr
Copy link

ddegr commented Nov 24, 2022

It seems to me there should not be patient/*.* user/*.* at one request. You should use patient/*.* or user/*.*

@burningSchadow42
Copy link

I am having a similar issue.
I can't get the patient, eventhough the JWT Token containted the patient.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants