Skip to content

Frameio/oauth-node-example-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

oauth-node-example-app

Setup

$ npm install

Usage: index.js

This example demonstrates a basic client using the Authorization Code grant flow.

Edit the following values in index.js to match your OAuth App configuration.

  • clientID
  • clientSecret
  • callbackURL
  • scopes

Next, run the application.

$ node index.js

The application will be available at http://localhost:5050.

Usage: pkce.js

This example demonstrates a basic client using the Authorization Code grant flow with Proof Key for Code Exchange (PKCE).

Edit the following values in index.js to match your OAuth App configuration.

  • clientID
  • callbackURL
  • scopes

Next, run the application.

$ node pkce.js

The application will be available at http://localhost:5050.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published