@kujo What are you doing when deploying to Beanstalk? The only thing I can think of is if you’re rotating your APP_KEY, which will then invalidate existing tokens because the app won’t be able to decrypt them any more.
Aug 3, 2023
3
Level 1
API authentication with Passport
Hi,
I have an API set up using Passport for authentication and all works great the vast majority of times, but when I deploy an update (I'm using AWS Beanstalk), any authenticated client is kicked out basically and all their requests become 401s.
Is there something I'm doing wrong that is stopping me from doing a deployment with Passport and retain the existing sessions?
Please or to participate in this conversation.