#20 Adding Lambda Authorizers in Your Serverless Backend

preview_player
Показать описание


—————
Get updated when a new course is released. Subscribe!

The latest news about Serverless products and happenings.
Рекомендации по теме
Комментарии
Автор

Couple issues with the auth.py given in the 5.3 folder under

missing line (causes jwt validate to fail because of missing AUTH0_API_ID value):
AUTH0_API_ID =

Second problem:
Got 'could not import module verify_token and get_token' when testing lambda in AWS. Could be the sys.path is not getting set in AWS python runtime. The fix I came up with was just to put both functions into the auth.py.

mike