# Node js saml okta configuration

**URL:** <https://devforum.okta.com/t/node-js-saml-okta-configuration/1787>\
**Category:** SAML\
**Tags:** nodejs, saml\
**Created:** [May 14, 2018, 8:55pm UTC](https://devforum.okta.com/t/node-js-saml-okta-configuration/1787 "2018-05-14T20:55:14Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![rlg](https://avatars.discourse-cdn.com/v4/letter/r/2bfe46/32.png) [@rlg](https://devforum.okta.com/u/rlg)\
**Post date:** [May 14, 2018, 8:55pm UTC](https://devforum.okta.com/t/node-js-saml-okta-configuration/1787/1 "2018-05-14T20:55:14Z")

</div>

trying to configure my node js server to auth users using saml.  
using passport and passport-saml strategy and i dont understand how to validate a response from the IDP at the SP side.  
when doing the flow without a cert it still works and im redirecting to Okta’s sign in page.  
i think im missing something, can some one please explain to me the proper flow ?

---

<div class="post-metadata">

**Author:** ![sofather](https://avatars.discourse-cdn.com/v4/letter/s/6f9a4e/32.png) [@sofather](https://devforum.okta.com/u/sofather)\
**Post date:** [February 9, 2022, 1:30pm UTC](https://devforum.okta.com/t/node-js-saml-okta-configuration/1787/2 "2022-02-09T13:30:32Z")

</div>

@rlg  
You should share your code and more details 😉

---

<div class="post-metadata">

**Author:** ![andrea](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/andrea/32/2172_2.png) [@andrea](https://devforum.okta.com/u/andrea)\
**Post date:** [February 12, 2024, 6:12pm UTC](https://devforum.okta.com/t/node-js-saml-okta-configuration/1787/3 "2024-02-12T18:12:46Z")

</div>


