Issue: State not found error with express-session and Slack auth

Hi, I'm using the @kinde-oss/kinde-typescript-sdk package for authentication with Slack in my Node.js app (using Express and MongoDB for session storage). Everything was working fine until I changed the cookie.domain in my express-session configuration from xyz.example.com to .example.com. After this change, I started encountering the following error during authentication: Authentication flow: Received: 123456** | Expected: State not found I reverted the domain change back to xyz.example.com, cleared all sessions from MongoDB, but the error persists. Would you have any insights into why the state is not being found, or any suggestions for troubleshooting this issue? Thanks in advance!
0 Replies
No replies yetBe the first to reply to this messageJoin

Did you find this page helpful?