Acquiring a JWT

This section describes the authentication process within Brass

Being a bank, security is extremely important, thus, multi-factor authentication is enforced for all user profiles.

📘

MultiFactor Authentication (2FA)

2FA is also enforced on all operations that cause money to be moved our of a customer's account, for instance, when authorising payments.

The steps for creating a JWT can be broken down into the steps below:

  1. Call the login endpoint with the authentication credentials
  2. If the response is a 200 OK, call the login authorise endpoint with the token value from step 1
  3. If the response is a 200 OK, you now have a usable JWT in the token value from step 2