# Support of Web Applications

**URL:** <https://devforum.okta.com/t/support-of-web-applications/22584>\
**Category:** API\
**Created:** [November 28, 2022, 4:00pm UTC](https://devforum.okta.com/t/support-of-web-applications/22584 "2022-11-28T16:00:50Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnwen84](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@johnwen84](https://devforum.okta.com/u/johnwen84)\
**Post date:** [November 28, 2022, 4:00pm UTC](https://devforum.okta.com/t/support-of-web-applications/22584/1 "2022-11-28T16:00:50Z")

</div>

Hello,  
I’m trying to authenticate my Angular application with an Okta Web Application (one with client secret). I’d like to use the Okta Angular SDK, but it seems to me that it only supports SPA apps. Can someone confirm this? Is there any sample NodeJs code (with or without use okta-angular) for authenticating Web Apps? I have been trying but hasn’t been able to find any.  
Thanks  
John

---

<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:** [November 28, 2022, 6:50pm UTC](https://devforum.okta.com/t/support-of-web-applications/22584/2 "2022-11-28T18:50:25Z")

</div>

That’s correct, Okta’s Angular SDK is designed for usage by SPAs, where the front-end handles the tokens and therefore the application session.

We do have a Node middleware that you may want to check out: [Okta NodeJS OIDC Middleware | Github](https://github.com/okta/okta-oidc-middleware)

You can find sample code using the middleware here: [Express Sample Applications for Okta | Github](https://github.com/okta/samples-nodejs-express-4)

---

<div class="post-metadata">

**Author:** ![johnwen84](https://avatars.discourse-cdn.com/v4/letter/j/ce73a5/32.png) [@johnwen84](https://devforum.okta.com/u/johnwen84)\
**Post date:** [November 28, 2022, 6:57pm UTC](https://devforum.okta.com/t/support-of-web-applications/22584/3 "2022-11-28T18:57:50Z")

</div>

Hi @andrea, thank you for the quick response, and the pointer to the middleware. I’ll check it out.  
John

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/oktadev/original/1X/589c4c5f80de422d01f47cee7185a7fb8227835c.png) [@system](https://devforum.okta.com/u/system)\
**Post date:** [February 13, 2024, 12:16am UTC](https://devforum.okta.com/t/support-of-web-applications/22584/4 "2024-02-13T00:16:21Z")

</div>

Closed on February 13, 2024, 12:16am UTC

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