Support of Web Applications

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

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

You can find sample code using the middleware here: Express Sample Applications for Okta | Github

1 Like

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

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