Avoid calling getSamlOptions
after authentication on IdP
#614
Unanswered
NickTaylor98
asked this question in
Q&A
Replies: 1 comment 2 replies
-
The |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Try to setup Passport-SAML on my project. Here is an code example
and routes:
So now I describe my problem.
GET /auth/saml
with EntityID in query of external IdP.When users go to IdP and enter their credentials then they redirected to our server with url
auth/saml/callback
. It's great but we call middlewarepassport.authorize
that lead to calling functiongetSamlOptions
in MultiSamlStrategy. But IdP doesn't send meentityID
in params and my function always send errorEntity ID is undefined
. So, my question is how to avoid callinggetSamlOptions
after authenticating on IdP.Beta Was this translation helpful? Give feedback.
All reactions