When running the login-app oauth sample, we are seeing intermittent errors, where we're redirected back to the login page. Below are my troubleshooting notes. Any advice on how to troubleshoot further?
Appears to have become a problem in mid-July.
Hi @DavidHickey,
Just to close the loop on this, we got on a call to work through this issue. N.B., this is a node.js proxy, hosted in Apigee Edge.
The latest indicates this is due to some expressjs caching parameters described here: https://github.com/expressjs/session, specifically setting both the "saveUninitialized" and "resave" options to false.
As this Resolved your issue, I wanted to make sure to post a response here for any other Apigee customers who may be having a similar issue.
Thanks!
Thanks for following up and thanks for your help. I suspect other users of the login-app sample will also experience this issue at some point. Perhaps the sample should be updated to reflect the latest thinking from the express-session folks?