Coder Social home page Coder Social logo

insomnia-plugin-aws-cognito-token's People

Contributors

mdlima avatar mrflip avatar palmithor avatar syl20lego avatar sylvainlegault avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

insomnia-plugin-aws-cognito-token's Issues

Feature Request: Support for USER_SRP_AUTH

Thanks for this plugin. It is exactly what I've been searching for. It would be very nice if you can support the USER_SRP_AUTH flow. Currently the USER_PASSWORD_AUTH flow is fixed.

Error installing [email protected] into Insomnia v7.1.1

When I click Install In Core on https://insomnia.rest/plugins/insomnia-plugin-aws-cognito-token and attempt adding the plugin, installation fails with this error:

Yarn error warning insomnia-plugin-aws-cognito-token > amazon-cognito-identity-js > [email protected]: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer
warning insomnia-plugin-aws-cognito-token > aws-sdk > [email protected]: This version of 'buffer' is out-of-date. You must update to v4.9.2 or newer

Error installing into Insomnia 6.6.2

Attempted to install insomnia-plugin-aws-cognito-token version 0.11 into Insomnia 6.6.2. When installing from Plugins, I receive the following error:

Yarn error {"type":"warning","data":"package.json: No license field"}

No other information is available and the Plugin doesn't turn up in the list of installed.

Unable to save because of parse error

When I enter the fields as needed the plugin successfully creates a token, but then when I close the dialog Insomnia still complains about the syntax of the expression and it's not saved then. The issue seems similar to this one: Kong/insomnia#1388

Screen Shot 2019-03-22 at 08 50 24

I've also tried to enter the expression directly in Nunjucks power user mode, but there's still an error.

Unable to get response

Hi!

I followed the steps in the README and I'm getting this response:

{
  "message": "Authorization header requires 'Credential' parameter. Authorization header requires 'Signature' parameter. Authorization header requires 'SignedHeaders' parameter. Authorization header requires existence of either a 'X-Amz-Date' or a 'Date' header. Authorization=eyJraWQiOiJvNkdrc1czRTRkRjdXckFwWFJPWmRQSnFGdDQ3cXNNVTFUcEhGSGxPZG9JPSIsImFsZyI6IlJTMjU2In0.eyJzdWIiOiI5N2E1YzgzZS1iMjJkLTQxYzktYWQ5OC0yYWFmNzM4ZjMyZjkiLCJhdWQasdiOiI0dTIxMTRuY2M4YXJ1cmRpbHF0MjUzNTlobCIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJldmVudF9pZCI6IjRjYjI0Yzg4LTE4MjItNDcxNi04MTViLTNiODIxMGUzZjEzZSIsInRva2VuX3VzZSI6ImlkIiwiYXV0aF90aW1lIjoxNTYyOTU1NjYzLCJpc3asdadMiOiJodHRwczpcL1wvY29nbml0by1pZHAudXMtZasdadWFzdC0xLmFtYXpvbmF3cy5jb21cL3VzLWVhc3QtMV9aU3NvR1NyUTYiLCJwaG9uZV9udW1iZXJfdmVyaWZpZWQiOmZhbHNlLCJjb2asdadduaXRvOnVzZXJuYW1lIjoia2FybGJpa2UxMjMiLCJleHAiOasdjE1NjI5NTkyNjMsImlhdCI6MTU2Mjk1NTY2MywiZW1haWwiOiJrYXJsQGRhbm5pbmdlci5jbyJ9.WdJWHvosyegUWSDgkpZeloeV0BRp1_5A_Ekwl20uuHxysmvtXfRE8xwhRRHkAZk6t1WcPkXWeEw-ClmXmUEs-Pasw-_u-uMjuHqpKnlk3iyb9jyasdad27H7ILTr0GcKE8-hr43vzGbcFT9xPkU-On1YYEtnk6E8n-zld6zNxEeKbKZ-d5-VjEYg2qK28qrN3IbIqvfd0i7CVJz1NN1sygjfJCvH96_unQlOH_DLNgSXtZ4STx3C9-r_vT_f9yApNMetXsrqwgZBGMezo8F-UDR8j-O8LD4tWUvr0AVcXxEY1CDRUY93uywOdu4Pj5kzCxi_DJ8NNSSZhtUHdo2kOS2Do1A"
}

Any ideas what is happening?

Unable to verify secret hash for client: Using the plugin to hit https://localhost:8300 (ssl enabled mkcert) but I get error

I used the manual installation of the plugin using #5 (comment) .

I have doubled checked all credentials for Cognito but I keep getting an error

Unable to verify secret hash for client 56n1ij8fic######e5inkjb8nc

Screenshot:
Screenshot 2020-06-04 at 11 06 39 AM

Here my line of questions for troubleshooting

(i) Am I getting this issue because I am using https://localhost:8300 as the auth link (and probably this plugin needs extra config for localhost play, I already have added local https support using mkcert and added the callback url as https://localhost:8300 in Cognito)

(ii) Or Is it something specific to the plugin because it is manually installed instructions followed #5 (comment) .

Here are other screenshots

Screenshot 2020-06-04 at 11 13 00 AM

Screenshot 2020-06-04 at 11 13 14 AM

Screenshot 2020-06-04 at 11 13 23 AM

Screenshot 2020-06-04 at 11 13 32 AM

Screenshot 2020-06-04 at 11 14 15 AM

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.