Newbe Question Angular 2 + Node API

I have just started experimenting with Okta. I have built an angular 2 (running as part of a MEAN stack) application and successfully got authentication to work using: Angular Authentication with OpenID Connect and Okta in 20 Minutes | Okta Developer.

I would like to expand on this and use Okta to add authentication to the API side of my node application. I’m not sure if I just went down the wrong rabbit hole or if there is a way for my API to get the token produced with the above example and validate it.

I’ve tried usinghttps://dev-586268.oktapreview.com/oauth2/xxx/v1/introspect with the token I got back and it keeps coming back with active:false. Am i mixing solutions? Is there a document showing how to allow login to my app but also keep my API secure?

If you’re using Express on your backend, you might be able to use our oidc-middleware to solve this.

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