Widen / cloudfront-auth

An AWS CloudFront Lambda@Edge function to authenticate requests using Google Apps, Microsoft, Auth0, OKTA, and GitHub login
ISC License
626 stars 148 forks source link

Error : Passphrase required for encrypted key #82

Open sonal-bansal opened 3 years ago

sonal-bansal commented 3 years ago
  1. On running Build.sh file, I was getting error that I need at least 5 letter paraphrase to create keys. Hence I updated the code in build.js as - image

  2. Now when i deployed my entire zip on Lambda, When i request on my web-page ,I get redirected to Okta sign-in page and after that i get 'Internal Server Error' On debugging i realized that 'jwt requires the Paraphrase for private key which i passed earlier'. I am not sure where to add it in index.js file.

Please help me on this issue.