Comments (5)
@MohiuddinSumon Package works in two modes: synchronous - requests as http-client and asynchronous - aiohttp as http-client. In order to avoid installing unnecessary dependencies I separated installation flow into two modes:
Async mode - pip install cognitojwt[async]
Sync mode - pip install cognitojwt[sync]
from cognitojwt.
@borisrozumnuk I tried to install sync always gets error:
❯ pip install cognitojwt[sync]
zsh: no matches found: cognitojwt[sync]
but installing > pip install cognitojwt works (I'm on ubuntu 23.10)
from cognitojwt.
@MohiuddinSumon try pip install cognitojwt\[sync]
, it should work for you
from cognitojwt.
thanks , pip install 'cognitojwt[sync]' this commands also works but these doesn't solve the total problem
from cognitojwt.
I could finally make it work. I was trying to use it in lambda. My mistake was I made my code structure like this:
-package
--cognitojwt
---
-lambda_handler.py
I had to remove the folder to make it working.
from cognitojwt.
Related Issues (9)
- I cannot import it
- examples would help HOT 1
- Typo in the AWS_COGNITO_JWSK_PATH name? HOT 4
- Module 'cognitojwt' has no attribute 'decode' when deploying on lambda HOT 2
- Trying to use flask_jwt_extended.set_access_cookies giving error
- cognitojwt has no attribute 'decode' HOT 1
- Security vulnerability in `ecdsa` HOT 2
- ImportError: cannot import name 'decode_async' from 'cognitojwt' HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cognitojwt.