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 -
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.
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 -
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.