SkillAgentSearch skills...

Obdatat

No description available

Install / Use

/learn @OpenBankingUK/Obdatat
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Access Token Acquisition Tool (MATLS)

This tool demonstrates how to acquire an access token and use it to execute an API call using Node.js.

Before you start

  • Ensure OpenSSL 3.0 with long-term support version (support expected to end on September 7, 2026) and latest LTS version of Node.js are installed on your computer

Setup

  1. Clone this repository.
  2. Create a new Software Statement using the Directory Interface.
  3. Generate 2 keypairs for the Signing and Transport certificates and create CSRs.
  4. Generate certificates and download their PEM files.
  5. Copy both keys and certificates to the config folder.
  6. Update config/config.json file with the required data (reference below).
  7. Run npm install from installation folder.

Usage

  • Run npm start from installation folder

Configuration

  • softwareStatementId - ID of a software statement you are requesting the token for
  • clientScopes - scopes that will be included in the token (can be blank)
  • keyId - ID of a signing certificate key you are using
  • signingCert_passphrase - if the signing cert key is encrypted (password was provided during generation) provide decryption password, otherwise set to null
  • transportCert_passphrase - if the transport cert key is encrypted (password was provided during generation) provide decryption password, otherwise set to null
  • environment - "sandbox" or "production"
  • signingCert - path to the signing certificate (relative to project root)
  • signingKey - path to the signing key (relative to project root)
  • transportCert - path to the transport certificate (relative to project root)
  • transportKey - path to the transport key (relative to project root)

Copyright 2025 Open Banking Limited. All rights reserved. The software provided has no warranty, it is provided “as is”. It is your responsibility to validate the behavior of the routines and their accuracy using the source code provided, or to purchase support and warranties from commercial redistributors.

Related Skills

View on GitHub
GitHub Stars11
CategoryDevelopment
Updated11mo ago
Forks15

Languages

JavaScript

Security Score

62/100

Audited on May 12, 2025

No findings