jetbridge/flask_cognito

COGNITO_JWT_HEADER_PREFIX Optional

Closed this issue · 1 comments

Hi guys, I have a little question

if COGNITO_JWT_HEADER_PREFIX is optional i can set this in empty, but the code need to validate this,

in get_token we can to have something like this
if (len(parts) == 1): parts = ["", parts[0]]

before the validation

Thanks

Okay sure