tmieulet / xk6-cognito

An example module for https://k6.io/ to get a cognito access token using USER_SRP_AUTH flow.
Apache License 2.0
2 stars 3 forks source link

Could not connect to cognito service #1

Open sumitbhowmick opened 1 year ago

sumitbhowmick commented 1 year ago

The example doesn't work. It throws error on client connect. ERRO[0004] TypeError: could not convert function call parameter 0: could not convert us-east-1 to context.Context

mvillamil commented 5 months ago

same issue here. I am new to Go language, is there a way to pass anything valid for context parameter?

AjayvirS commented 4 months ago

Hey @mvillamil, did you find any workaround?

SmartDev210 commented 1 month ago

@sumitbhowmick , @mvillamil , @AjayvirS , @tmieulet , do we have answer for this issue? I have same problem and can't create cognito client. by the context parameter help me to resolve this issue thanks?