Code Monkey home page Code Monkey logo

cadi's Introduction

Conformance, Acceptance, and Debug Test IDP (CADI)

yes® CADI is a service that enables testing of implementations on conformance with the yes® specifications. It can also help to debug any problems with implementations by providing concise and clear error messages. CADI is furthermore used during UI/UX reviews to generate test cases like error conditions.

What CADI is and what it isn't

  • CADI implements an identity provider (IDP) interface according to the yes® specifications.
  • CADI is extremely lenient in what it accepts as requests. It will accept requests that would not work with a real bank and that do not comply with the yes® specifications.
  • For any deviation from the specification, or wherever things might go wrong in practice, CADI will provide warnings or error messages that try to be as clear as possible, e.g., by providing the exact reason why a request would have been rejected in a real-world scenario.
  • Since CADI does not handle any personal data and is available in the sandbox only, it can provide detailed error messages even for security-sensitive areas, e.g., if a wrong client ID is used or client authentication is missing.

yes® CADI works well with the identity service, but is (currently) limited for signing and payment initiation. In the latter two, it can be used to check the pushed authorization request and the authorization request, but signing and payment initiation processes cannot be completed.

How to run

Install the requirements:

pip install -r requirements.txt

Create a file platform-credentials.yml containing the credentials for accessing the yes® platform with the following contents:

client_id: "yes-sandbox-platform-client-id"
cert: "cert.pem"
key: "key.pem"
environment: sandbox

Make sure client.pem and key.pem exist and contain the respective credentials.

Run the server:

python -m cadi.main platform-credentials.yml

cadi's People

Contributors

danielfett avatar

Stargazers

Kenneth Myhra avatar

Watchers

 avatar

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.