Skip to content

myriahno/authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

128 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

J.P. Morgan Authentication examples

Within this repository you can find example code for accessing our Payments APIs. We have split the code by programming language for ease of use. Each folder contains:

  • sample-authentication-code: This contains code scripts for generating digital signatures (also known as JWTs), gathering access tokens and generating certificates.
  • backend-example: This is a fully functioning server that can handle sending requests to our APIs. (Coming soon to all languages!)

**Note this is not production code and is supplied to get developers started **

Generating test certificates

You can follow the below commands to get setup with some testing certificates. To use these against J.P. Morgan APIs you will need to onboard them on developer.jpmorgan.com

openssl genrsa -out keypair.pem 2048
openssl rsa -in keypair.pem -pubout -out publickey.crt
openssl pkcs8 -topk8 -inform PEM -outform PEM -nocrypt -in keypair.pem -out pkcs8.key

Contribution

These are simple example snippets. We welcome any additional language contributions and any performance improvements/suggestions.

About

Example code showing how to authenticate to our payments APIs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors