Skip to content

oktadev/okta-node-api-koa-example

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

Build A Secure Node.js API with KoaJS Example

This example project is for the blog post "Build A Secure Node.js API with KoaJS."

This project requires:

Setup

It would be best to follow the tutorial using the link above.

  • Clone or download this project

  • Run npm install to install dependencies

  • Create a file named .env in the root of the project

    OKTA_CLIENT_ID={yourOktaClientID}
    OKTA_ISSUER={yourOktaDomain}/oauth2/default
    OKTA_AUDIENCE=api://default
  • Create a Service application in the Okta Developer dashboard

  • Copy your application's Client ID and your Okta Developer Org URL to the .env file

  • Launch server using node index.js

About

No description, website, or topics provided.

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published