Skip to content

SMWARREN/express-4.x-steemconnect-userinfo-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

express-4.x-steemconnect-userinfo-example

Using passport-steemconnect Passport-SteemConnect

This example demonstrates how to use Express 4.x and Passport to authenticate users via SteemConnect. Use this example as a starting point for your own web applications.

alt text

alt text

alt text

alt text

Instructions

To install this example on your computer, clone the repository and install dependencies.

$ npm install

1. Fill in your clientID, clientSecret, callbackURL
2. On line 62 put in the correct callBackURL currently set to '/auth/oauth/oauth2/callback'
passport.use(new Strategy({
  authorizationURL: `https://steemconnect.com/oauth2/authorize`,
  tokenURL: `https://steemconnect.com/oauth2/token`,
  clientID: ``,
  clientSecret: ``,
  callbackURL: ``,
  scope: ['offline', 'vote'],
  },
  

About

Express 4.x app using Passport for authentication via SteemConnect

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 82.5%
  • HTML 17.5%