Skip to main content
February 20, 2025
Question

Establish the connection to GraphQL

  • February 20, 2025
  • 1 reply
  • 0 views

Hi Team,

I need to fetch data from a GraphQL API endpoint, but I'm unsure about the connected system required for the connection. The client has provided the ClientId and ClientSecret for AWS Cognito and mentioned that they are using SRP (Secure Remote Password) Authentication. However, I'm not sure what additional information is needed to establish the connection to the GraphQL service. Can you please provide more details?

1 reply

nandhakums961772
February 24, 2025

Actually, The ClientId and ClientSecret is used to crack the SRP authentication. But we also require the Pool Id, used to route the authentication requests to it's respective user pool.

Once successfully authenticated, we'll receive the AccessToken. 

Now, We've to pass that token in the GraphQL request header.

Hope it helps.