Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

COGNITO_JWKS #139

Open
rednap opened this issue Feb 10, 2019 · 0 comments
Open

COGNITO_JWKS #139

rednap opened this issue Feb 10, 2019 · 0 comments

Comments

@rednap
Copy link

rednap commented Feb 10, 2019

not in the documentation is how this ENV variable works, or even what it does...

maybe i'm missing something, kinda new to python, but how does one set the env var COGNITO_JWKS .. i assume this is used to validate the jwt sig as AWS describes here: https://docs.aws.amazon.com/cognito/latest/developerguide/amazon-cognito-user-pools-using-tokens-verifying-a-jwt.html ??

your example: COGNITO_JWKS={"keys": [{"alg": "RS256","e": "AQAB","kid": "123456789ABCDEFGHIJKLMNOP","kty": "RSA","n": "123456789ABCDEFGHIJKLMNOP","use": "sig"},{"alg": "RS256","e": "AQAB","kid": "123456789ABCDEFGHIJKLMNOP","kty": "RSA","n": "123456789ABCDEFGHIJKLMNOP","use": "sig"}]}

i cannot $ export COGNITO_JWKS={} .. will $ export COGNITO_JWKS='{}' work?

any help would be greatly appreciated. thanks for the lib!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant