-
Notifications
You must be signed in to change notification settings - Fork 475
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] InResponseTo not valid for all requests #682
Comments
You didn't care to define what was your previous version. Lets assume your previous version was https://github.com/sign-in-canada/passport-saml/tree/275f15488823407043208677caf3dea8fee9903a (current HEAD of And lets assume that you are merging Since you have modified (based on this commit sign-in-canada@e4fe1fc ... which btw. doesn't make any sense) also multisamlstrategy (which is pretty much the only place which recreates
passport-saml/src/passport-saml/multiSamlStrategy.ts Lines 19 to 22 in 0d983aa
Wild guess:
I.e. code flow would/could be like this (links point to current HEAD of passport-saml/src/passport-saml/multiSamlStrategy.ts Lines 35 to 36 in 6ba76ba
passport-saml/src/node-saml/saml.ts Line 160 in 6ba76ba
|
I'm in agreement with @srd90 here. I don't think we have enough information to say what exactly the problem is. Moving to discussion. |
This issue was moved to a discussion.
You can continue the conversation there. Go to discussion →
Hi everyone
We are getting the InResponseTo not valid error for each request since the CacheProvider is creating a new instance for each call (our assumption): getting empty keys when we call the get method.
Expected behavior
The previous versions were using one instance of the CacheProvider (from constructor) and keys are managed correctly (save, get and delete).
Environment
Node.js version: 14
passport-saml version: 3.2.1
The text was updated successfully, but these errors were encountered: