Giter Site home page Giter Site logo

hello-obp-oauth1.0a-node's Introduction

Hello-OBP-OAuth1.0a-Node

This is a very basic app to demonstrate the integration of the OpenBankProject with OAuth1.0-Authentication into a NodeJS application.

SETUP

Get consumer key / secret: register your client at https://apisandbox.openbankproject.com/consumer-registration and add the host, key and secret in your config.json file like so:

config.json

{
"apiHost": "https://apisandbox.openbankproject.com PLEASE CHANGE THIS TO THE HOST YOU ARE USING!!", 
"consumerKey": "YOUR CONSUMER KEY GOES HERE",
"consumerSecret" : "YOUR CONSUMER SECRET GOES HERE",
"redirectUrl": "http://127.0.0.1:8085/callback"
}

Install Dependencies: npm install

Start Server: node oauth.js

Navigate to the page: http://127.0.0.1:8085 (not http://localhost:8085 in this example as the session won't be set)

You can log in as a test user, using the following credentials on the general OBP API sandbox:

username: [email protected] password: qwerty

Each public sandbox generally has a github wiki page with dummy customer logins. See the home page of the API sandbox you are using.

REFERENCES

https://github.com/ciaranj/node-oauth http://webapplog.com/node-js-oauth1-0-and-oauth2-0-twitter-api-v1-1-examples/ http://moonlitscript.com/post.cfm/how-to-use-oauth-and-twitter-in-your-node-js-expressjs-app/ https://gist.github.com/joshj/1933640

hello-obp-oauth1.0a-node's People

Contributors

simonredfern avatar everett-tesobe avatar sebtesobe avatar kjyv avatar morninlark avatar

Watchers

James Cloos avatar shuang avatar

hello-obp-oauth1.0a-node's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.