Giter Site home page Giter Site logo

extrabb / open-psd2 Goto Github PK

View Code? Open in Web Editor NEW
23.0 4.0 4.0 98 KB

An open source framework for using banking API's built for PSD2 regulation.

License: GNU General Public License v3.0

TypeScript 100.00%
banking api open psd2 authorization ing abn http finance bank

open-psd2's People

Contributors

extrabb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

open-psd2's Issues

CORS error

Hi, not sure if I'm using the client wrong or if ING is doing something wrong but I'm getting the following errors with your client:

Attempt to set a forbidden header was denied: Date
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sandbox.ing.com/oauth2/token. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://api.sandbox.ing.com/oauth2/token. (Reason: CORS request did not succeed).

I am calling the open-psd2 client from a localhost environment with the following code:

const bank = new ING(true, SigningKey, '<my-super-secret-password>', TlsCert, TlsKey, '<my-client-key>');
bank.requestAccessToken('view_balance').then(console.log, console.error);

I keep getting those CORS errors however. Is there a trick I am missing?

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.