Skip to main content
Known Participant
Feb 20, 2025 7:05 AM UTC
Question

Establish the connection to GraphQL

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
Participating Frequently
Feb 24, 2025 12:34 PM UTC

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.

Friendly Neighbourhood Developer