Coder Social home page Coder Social logo

Comments (9)

Bingjiling avatar Bingjiling commented on July 21, 2024

Hi @nkundella,

Thanks for reaching out! Have you tried the /metadata endpoint? The metadata endpoint does not require authorization and can help determine if the server is running properly.

from fhir-works-on-aws.

nkundella avatar nkundella commented on July 21, 2024

Hi @Bingjiling,
I tried the /metadata endpoint, it works fine, please check the attached capture.

image

from fhir-works-on-aws.

nkundella avatar nkundella commented on July 21, 2024

image
For instance, I tried to hit POST account endpoint, and on cloudwatch I see this response and not much information.

from fhir-works-on-aws.

nkundella avatar nkundella commented on July 21, 2024

image

The test within api-gateway fails with same error.

from fhir-works-on-aws.

nguyen102 avatar nguyen102 commented on July 21, 2024

Did you include the x-api-key in the header? Can you send what the curl command for your request looks like?

For example this is what mine looks like

curl --location '{API_URL}/Account' \
--header 'x-api-key: {API_KEY}' \
--header 'Authorization: Bearer {{COGNITO_TOKEN}}'

from fhir-works-on-aws.

nkundella avatar nkundella commented on July 21, 2024

image
I do have all those in my curl.

from fhir-works-on-aws.

nkundella avatar nkundella commented on July 21, 2024

Here is another snapshot of my curl command (We have used aws/solutions/deployment for this)
Provided the following details as requested.

  1. API Key in the headers for FHIR (From Amazon API Gateway)
  2. Provided the url and below is the url we are using (masking the id's)
  3. Providing the Bearer Token as well from Cognito.

Please refer the below image.
image

The entire deployment we are doing in ca-central-1

from fhir-works-on-aws.

nkundella avatar nkundella commented on July 21, 2024

Which timezone are you working from?
So that, we can have active conversation in a day.

from fhir-works-on-aws.

nguyen102 avatar nguyen102 commented on July 21, 2024

Hi, can you confirm that you deployed the Cognito version of FWoA? The instructions for deployment are here

This is the command for deploying Cognito version of FWoA.
cd ./solutions/deployment rushx deploy --profile <AWS PROFILE> -c stage=<STAGE> -c region=<AWS_REGION>

Can you go into Cognito and check what groups the Cognito user is in? Is the user in the practitioner group?

from fhir-works-on-aws.

Related Issues (7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.