# Single application can support both SPA and SAML?

**URL:** <https://devforum.okta.com/t/single-application-can-support-both-spa-and-saml/11213>\
**Category:** SAML\
**Tags:** saml\
**Created:** [October 6, 2020, 8:10pm UTC](https://devforum.okta.com/t/single-application-can-support-both-spa-and-saml/11213 "2020-10-06T20:10:52Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dragos](https://sea1.discourse-cdn.com/oktadev/user_avatar/devforum.okta.com/dragos/32/1313_2.png) [@dragos](https://devforum.okta.com/u/dragos)\
**Post date:** [October 7, 2020, 1:48am UTC](https://devforum.okta.com/t/single-application-can-support-both-spa-and-saml/11213/3 "2020-10-07T01:48:04Z")

</div>

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](https://developer.okta.com/docs/concepts/saml/).

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

---

_[View the full topic](https://devforum.okta.com/t/single-application-can-support-both-spa-and-saml/11213)._
