Single application can support both SPA and SAML?

Hi @VAMSI_VEGESNA

You would need to create an ACS endpoint inside your application which will receive the incoming SAMLResponse from Okta. Based on this SAMLResponse, you will need to create a session for the user inside the application. You can find more details about SAML here.

In short, this are the steps required to implement SAML inside your application:

  • create a SAML application in Okta
  • implement SAML in your application
    • Okta does not offer a proprietary SAML SDK, however you can use a third party SAML SDK specifically for the language in which the application was made
  • configure the SAML SDK in your application with the values from Okta (issuer, public certificate, IDP SSO URL, etc.)
  • implement a method in the application to validate the SAMLResponse coming from Okta using the SAML SDK and, after verification, create a session for the user
2 Likes