OKTA SAML 2.0 SSO integration in React.JS

I want to integrate OKTA SAML 2.0 SSO integration in React.JS 17.

Can anyone share an example or the steps to integrate it? I checked couple of examples on the internet but are integrated using Auth0 and not using SAML 2.0.

Hello,

Typically SAML is used in Web Applications and not Public Apps like React.
Do you have a server side which is going to handle the SAML Authentication flow or is your application strictly a SPA app?

For SPA applications the recommended authentication method would be OIDC.

Thank You,

Yes @erik,

We have server side using node.js. Can you please guide me to do with it?

TIA.

Okta does not provide SAML SDKs, but Okta is SAML 2.0 compliant.

For Node a popular SAML choice is Passport,

Okta specific strategy,

1 Like

Thanks @erik. This is a useful solution.

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.