Coder Social home page Coder Social logo

chalice-cognito-auth's People

Stargazers

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

Watchers

 avatar  avatar

chalice-cognito-auth's Issues

ImportModuleError for chalice_cognito_auth.blueprint

I'm sure I'm doing something wrong, but when I deploy the basic example from the readme.md I'm able to execute login and get a token back, but when I try the /whoami route it throws the following exception:

[ERROR] Runtime.ImportModuleError: Unable to import module 'chalice_cognito_auth.blueprint': cannot import name 'BlueprintFactory' from 'chalice_cognito_auth.blueprint' (/var/task/chalice_cognito_auth/blueprint.py)

I've tried a few things such as moving the library into vendor/ and using the latest github version to no avail. Any pointers to what might be wrong would be helpful. My chalice --version output is chalice 1.12.0, python 3.7.3, darwin 19.0.0

Unable to get the token using login endpoint for client with secret

I am successfully able to invoke login endpoint and get the response for an app client without secret, however if I use the app client with secret, then, it gives me following error:
{
"Code": "UnauthorizedError",
"Message": "UnauthorizedError: Unable to verify secret hash for client "
}

I went through the documentation as well as code, but couldn't find the way to send app client secret. There should be some way to achieve the same. Please let me know if i am missing anything.

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.