Node JS SDK - Login users and get authorization token

Hello.

I have a Node / Express REST API that I created, I’m currently integrating Okta.

I have completed the setup for the following:

  • Protected Routes

  • User registration

I want to now actually login a user via postman, have returned a token so I can access my protected routes and when I’m done, have a log out functionality to destroy the token.

I have not found any clear documentation to do this or maybe i missed it. Would love your input on how can I proceed and which OKTA functionality I can use to do this.

Thanks!

to get an access token you would need an OAuth/OIDC application created in Okta, so that you can go and get it with either one flow

Where can I find this documentation?

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