MildFun avatar

Steem Connect Express 4.x Example With Passport-SteemConnect

mildfun

Published: 17 Apr 2018 › Updated: 17 Apr 2018Steem Connect Express 4.x Example With Passport-SteemConnect

Steem Connect Express 4.x Example With Passport-SteemConnect

express-4.x-steemconnect-userinfo-example

Using passport-steemconnect Passport-SteemConnect

1.png
2.png
3.png
4.png

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.

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'],
  },
  

Github

Express 4.x SteemConnect Example

Leave Steem Connect Express 4.x Example With Passport-SteemConnect to:

Written by

Software Engineer

Read more #steemconnect posts


Best Posts From MildFun

We have not curated any of mildfun's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From MildFun