Skip to main content
Filter by
Sorted by
Tagged with
-1 votes
1 answer
68 views

Using PyJWT, how do you generate a new key from scratch? I cannot find a single example of how to do this in PyJWT. I can find examples with jwcrypto, but porting that looks tedious at best. EDIT: I'm ...
AstraLuma's user avatar
  • 667
0 votes
1 answer
494 views

Added PyJWT pkg to the project but getting error that the module is not found. I added the pkg using the poetry add command from a private repository. from jwt import decode, get_unverified_header alg ...
Faisal's user avatar
  • 415
0 votes
0 answers
211 views

I am trying to set up a JWT auth system for a website. On the server side(where I use Python/Flask) I generate the token using the library PyJWT. On the frontend/app I am using Flutter(dart) with the ...
spaniard's user avatar
  • 560
0 votes
0 answers
34 views

I trying to make login page and home page with django and angular, it logged in well, but once i try to retrieve the logged in user from angular it shows me 403 (Forbidden) but it works fine in ...
art's user avatar
  • 63
0 votes
1 answer
190 views

So using FastAPI PyJWT, I'm struggling to make this work user_dep = Annotated[Dict,Depends(api.get_current_user)] @app.get('/') async def home(request: Request,user:user_dep=Optional[models....
Ken's user avatar
  • 3
0 votes
1 answer
2k views

I want to find out how to fix this error. I'm using python-jose(Poetry) in FastAPI. (I apologize if there have mistake in my sentences, because I don't use Google Translate, to improve my English ...
Слава Заблоцкий's user avatar
0 votes
1 answer
74 views

I am trying to confirm user email using pyjwt. So basically, when a new user registers, the user receives a confirmation email containing a link, and the user clicks the link to confirm the email. If ...
Adesua Martins's user avatar
0 votes
1 answer
973 views

I use this code before and it was OK, but after months it does not work. This code suggested by pyjwt documentation without any changes. I am using XUBUNTU and dockerized my project. import jwt SEC = &...
CC7052's user avatar
  • 577
0 votes
1 answer
76 views

I am trying to create an app where Users can login and create tasks. The code for my django app is hosted here I am using JWT authentication and drf-yasg to generate swagger. So the TaskSerializer ...
Echchama Nayak's user avatar
2 votes
2 answers
15k views

Getting error 'install_requires' must be a string or list of strings containing valid project/version requirement specifiers when installing a package with pip. The package is an internal package but ...
eia92's user avatar
  • 105
0 votes
1 answer
247 views

I have written a python lambda to redirect unauthorized users to Cognito. The lambda works when I run a test event in the lambda console, but when I try to hit the CloudFront distribution, I get the ...
Danny Ellis Jr.'s user avatar
1 vote
1 answer
74 views

I need to update a kwarg for a class method which is called by another package. I interact with PyJWT encode much later this calls cryptography load_pem_private_key (https://cryptography.io/en/latest/...
Blind Rabit's user avatar
1 vote
0 answers
118 views

So I am having trouble with JWT tokens. After my token runs trough function to decode it it is supposed to return some data from SQLAlchemy database. But instead of data I get <__main__.SortRules ...
wondergrandma's user avatar
3 votes
2 answers
9k views

I tried to use the documentation found in here: https://pyjwt.readthedocs.io/en/latest/usage.html#retrieve-rsa-signing-keys-from-a-jwks-endpoint related to the validation of a JWT token using JWKS but ...
ddtxra's user avatar
  • 65
0 votes
0 answers
721 views

I have a Java Spring boot API that a user logs in and is issued a JWT token ( i cant change this code). I have a new python API that needs to parse the JWT to verify its been authenticated. Java Code ...
Parker Dell's user avatar

15 30 50 per page
1
2 3 4 5
8